frida-il2cpp-bridge icon indicating copy to clipboard operation
frida-il2cpp-bridge copied to clipboard

couldn't resolve export il2cpp_get_corlib

Open root-mega opened this issue 1 year ago • 1 comments

Hi,

This error appears on calling Il2Cpp.dump(). Note: I'm using a modified version of this package to change the GameAssembly.dll name to UserAssembly.dll, though it probably doesn't matter a lot

il2cpp: couldn't resolve export il2cpp_get_corlib at r (/node_modules/hk4e-frida-il2cpp/dist/index.js:413) at get getCorlib (/node_modules/hk4e-frida-il2cpp/dist/index.js:244) at call (native) at (/node_modules/hk4e-frida-il2cpp/dist/index.js:842) at initialize (/node_modules/hk4e-frida-il2cpp/dist/index.js:1230)

root-mega avatar Nov 26 '23 13:11 root-mega

Please take a look at https://github.com/vfsfitvnm/frida-il2cpp-bridge/issues/363

PS: you can do the following to change the default name:

(gloablThis as any).IL2CPP_MODULE_NAME = "UserAssembly.dll";

Il2Cpp.perform(() => {
    // ...
});

vfsfitvnm avatar Dec 13 '23 19:12 vfsfitvnm