vfsfitvnm / frida-il2cpp-bridge

A Frida module to dump, trace or hijack any Il2Cpp application at runtime, without needing the global-metadata.dat file.
https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki
MIT License
918 stars 191 forks source link

il2cpp: 10 seconds have passed and libil2cpp.so has not been loaded yet, is the app running? #495

Closed Sazxt closed 3 months ago

Sazxt commented 4 months ago
image

why not work x86 ?

using bluestacks emulator

Yehh22 commented 3 months ago

same issue but if I add --realm=emulated like frida -U -f "com.farstar.bsb" -l index.js --realm=emulated, it crashes

Spawned `com.farstar.bsb`. Resuming main thread!
Error: unable to intercept function at 0xc7712b80; please file a bug
    at value (frida/runtime/core.js:367)
    at <anonymous> (utils/native-wait.ts:102)
    at map (native)
    at <anonymous> (utils/native-wait.ts:102)
    at Promise (native)
    at forModule (utils/native-wait.ts:104)
    at initialize (il2cpp/module.ts:16)
    at perform (il2cpp/perform.ts:5)
    at <anonymous> (index.ts:17)
colo13verdadeo commented 3 months ago

Sometimes is translate to ARM, so, on this version IL cant doit and crash.

Gouadala commented 3 months ago

I do get that error too but the solution is simple.... When you get that error just wait for the game to load... And then just edit your frida script... What ido is adding some comment then save it... If you use the build method... Run the build commend... If you use the watch method... It will rebuild the script and inject it back to the game ...

That would solve the probelm....

An other method is to set a timeout function to wait for the game to be fully loaded before runnig the frida script (il2ccp part)

Good look!

Sazxt commented 3 months ago

solved, I use the old Frida ldplayer emulator version 15 and Frida tools version 10

Yehh22 commented 3 months ago

solved, I use the old Frida ldplayer emulator version 15 and Frida tools version 10

Can you send me the old versions?

colo13verdadeo commented 3 months ago

@Yehh22 Just use Emulator with ARM.

Yehh22 commented 3 months ago

@Yehh22 Just use Emulator with ARM.

What emulator?

colo13verdadeo commented 3 months ago

@Yehh22 Just use Emulator with ARM.

What emulator?

I've heard: Waydroid, try use. Reply me if works or not works @Yehh22 .

Yehh22 commented 3 months ago

@Yehh22 Just use Emulator with ARM.

What emulator?

I've heard: Waydroid, try use. Reply me if works or not works @Yehh22 .

I don't use linux. Forget it, I use phone instead