Tutorial [Outdated] How to load dumped Il2Cpp function names in IDA Pro

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,736
253,040
1,213
Modding World
This is old tutorial. Follow new tutorial How to use il2cpp.h, script.json and stringliteral.json (Il2CppDumper) - Platinmods.com - Android & iOS MODs, Mobile Games & Apps

Did you saw script.py after dumping and you don't know what it is? it's a generated python script to load function names in IDA

First of all, you must dump il2cpp games using Il2CppDumper. Follow the tutorial [Videotutorial] How to dump and mod Il2cpp games (advanced modders only!) - TUTORIALS - Tutorial

Install Python 2.7 Python Release Python 2.7.15

After dump, you will see script.py located in location where Il2CppDumper.exe is located

Open IDA Pro, disassemble a binary file and let it fully load

Click on File -> Script File…

W7rzjad.png


Select the script.py file to run

HGOsYOu.png


Wait around 30 seconds

Done. Now you can see function names in IDA Pro

RB3DLDN.png


Credits:
AndnixSH (Tutorial)
Perfare (Il2CppDumper)
 
Last edited:

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,736
253,040
1,213
Modding World
To be clear, Il2Cpp stripped all function names out of lib. You can load the function names back in IDA Pro with the generated script so you can analyze functions easier
 

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,736
253,040
1,213
Modding World
e in this case it only works in games no unity type libgame.so / libcocos2dcpp.so / libcocos2dlua.so / libapp.so / libcore.so
Correct. For other native games, open directly in IDA and search for function names. But if there are no names (stripped), then maybe guess, search string or debug it
Don't expect that you can do the same way as Il2Cpp
 

M1den

Platinian
Nov 16, 2022
11
0
1
18
Moscow
Hi, what should I do if an error appears when loading the script: Bad or ill-formed preprocessor command
 

About us

  • Welcome to platinmods.com! We are proud to present you the place which let's dreams come true! Focusing on quality and trust we have spend much time to build a gaming community fitting to your wishes and needs. Actually we offer you the finest MODs and Games of the Android section and we slowly expand to the iOS section as well. But games, Android MODs & iOS MODs are not the only things we can offer you. We have tutorials, tools, a very friendly, active and solid community which will help you with any problem you have =) Your happiness is our goal. We hope you enjoy!

Forum statistics

Threads
52,593
Messages
1,779,872
Members
3,129,037
Latest member
OniAlaszEr0