[Outdate] [Tutorial] How to mod il2cpp games!

KingDragon

Modding Machine
Cracking Team
May 14, 2015
4,375
Visit site
This is pretty outdate now since their is more easy tool to do this task.
Disclaimer: This tut is NOT for beginners, you have to have some basic knowledge before continue. I won't support this topic!


1. Download this source and compile it GitHub - Jumboperson/PokemonGoDumper
2. Rename libunity.so of game to librealunity.so
3. Rename your compiled lib to libunity.so and copy to game folder.
4. Run game and check logcat for tag "MyCode"
5. Base on the memory address, you can find the real offset of functions in libil2cpp.so

Good luck and enjoy! il2cpp is not a challenge anymore!

Credit: TeamAR

Code:
I/MyCode  (26071):     // Methods
I/MyCode  (26071):     void .ctor(); // 42a1dfc
I/MyCode  (26071):     void EnterState(); // 42a1e9c
I/MyCode  (26071):     void ExitState(); // 42a227c
I/MyCode  (26071):     IEnumerator GpsJitter(); // 42a21e0
I/MyCode  (26071):     void SetupScene(); // 42a20a0
I/MyCode  (26071):     void PokemonEncounterComplete(); // 42a2344
I/MyCode  (26071):     void ActivateAssetBrowser(); // 42a23e0
 
Last edited:
"3. Rename your compiled lib to libunity.so and copy to game folder."

How to compile it with SO Files?
Under this folder are
LATEST DUMP
OLD DUMP
Android.mk
App.mk
Il2cpp.mk
License
Main.c