MCPcopy Create free account
hub / github.com/axhlzy/Il2CppHookScripts / getLibPath

Function getLibPath

Il2cppHook/_Ufunc.js:7728–7736  ·  view source on GitHub ↗
(name = undefined)

Source from the content-addressed store, hash-verified

7726 }
7727 }
7728 function getLibPath(name = undefined) {
7729 let retStr = "";
7730 Java.perform(() => {
7731 let context = Java.use('android.app.ActivityThread').currentApplication().getApplicationContext();
7732 let libPath = context.getApplicationInfo().nativeLibraryDir.value;
7733 retStr = libPath + "/" + (name == undefined ? "" : name);
7734 });
7735 return retStr;
7736 }
7737}
7738exports.getApkInfo = getApkInfo;
7739function getUnityInfo() {

Callers 1

getApkInfoFunction · 0.70

Calls 1

performMethod · 0.80

Tested by

no test coverage detected