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
946 stars 194 forks source link

Il2Cpp.application is null #310

Closed commonuserlol closed 1 year ago

commonuserlol commented 1 year ago

hey, im just tried dump app but as title says Il2Cpp.application is null

-> Il2Cpp.application
{
    "dataPath": null,
    "identifier": null,
    "version": null
}

unity is 2020.3.26f1 and app name is com.ekindiegames.ElectricTrains (you can find in google play or https://electric-trains.en.uptodown.com/android/download), android is 12.1 (but i think it not matter)

vfsfitvnm commented 1 year ago

Yeah, it can totally happen: it depends on whether the compiler stripped out those methods (it does if they are unused). , I'll take a look anyway as soon as I can (just in case)

vfsfitvnm commented 1 year ago

Yup, I confirm what I said. Unfortunately, you have to either monkey-patch that object or provide the required parameters where needed!