Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

il2cpp: libil2cpp.so has been loaded, but such event hasn't been detected #447

Open
dziunincode69 opened this issue Dec 13, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@dziunincode69
Copy link

hello im running a code from snippet but why i got this error

npm run spawn com.mobile.legends

[email protected] spawn
run() { frida -U -f "$1" -l _.js --runtime=v8; }; run com.mobile.legends

 ____
/ _  |   Frida 16.1.7 - A world-class dynamic instrumentation toolkit

| (| |
> _ | Commands:
/
/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
. . . .
. . . . Connected to 22071212AG (id=C6HISK9LB67LFQKB)
Spawned com.mobile.legends. Resuming main thread!
[22071212AG::com.mobile.legends ]-> il2cpp: libil2cpp.so has been loaded, but such event hasn't been detected - please file a bug
Error: access violation accessing 0x0
at NativeFunction. ()
at Object.initialize (il2cpp/module.ts:19:24)
at Object.perform (il2cpp/perform.ts:5:36)

@vfsfitvnm
Copy link
Owner

Hi, thanks for reporting. Are you using an emulator? If so, you need to run Frida with --realm=emulated. Please follow #437 and let me know!

@dziunincode69
Copy link
Author

im using android device not a emulator
my device: xiaomi 12T
and im using USB to connect with adb and frida

@vfsfitvnm
Copy link
Owner

Thanks.
What happens if you eval:

Process.getModuleByName("libil2cpp.so")

throught the Frida REPL?

@dziunincode69
Copy link
Author

dziunincode69 commented Dec 16, 2023

hello
i Got this response

[22071212AG::com.mobile.legends ]-> Process.getModuleByName("libil2cpp.so")

{ "base": "0x7695243000", "name": "libil2cpp.so", "path": "/data/app/~~2aUqt56EA83TXpBt_YIxpg==/com.mobile.legends-xXkqYG7V3IWVEDF9rdnVXA==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libil2cpp.so", "size": 237568 }

@vfsfitvnm
Copy link
Owner

Thanks, it looks like this game (or your device) is using a strategy I'm not aware of to load libil2cpp.so

@vfsfitvnm vfsfitvnm added the bug Something isn't working label Dec 16, 2023
@jackvonhouse
Copy link

@dziunincode69 have you solved this problem?

@aiwobazou
Copy link

I guess it's due to the private customized version of Unity

@aiwobazou
Copy link

I guess it's due to the private customized version of Unity

I am learning to try to solve this problem on my own

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants