This is the AMP version of this page.
If you want to load the real page instead, click this text.

Tutorial Manually dump il2cpp unity 2019.x.x on Android games

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,555
304,545
1,213
Modding World
This is for Unity 2019.x.x on Android games

Input correct unity version you have found in any asset files... Just put 2019.1

When the error occur, do NOT close cmd. Remember the offset of MetadataRegistration



In the GUI version of dumper, it will also write the MetadataRegistration offset for you



Disassemble libil2cpp.so file with IDA Pro and let it finish loading for a while

Press G and jump to address of MetadataRegistration



Press X to view xrefs as follows.



Double-click on the blue selection in the figure to jump.

armeabi-v7a:
The CodeRegistration offset is right below MetadataRegistration



arm64-v8a:
Press space to switch to graph mode and look way above



Can't press space due to red instructions?
Click on the loc_xxxxx and press X to view xrefs as follows.



Double-click on the blue selection in the figure to jump.

Click on the loc_xxxxx and press X to view xrefs again



And double-click on the blue selection in the figure to jump.

You will be jumped to sub_xxxxx where you can see the CodeRegistration offset highlighted



x86:
The CodeRegistration offset is right below MetadataRegistration



Relaunch il2cppdumper and dump manually with the offsets you have found

 
Last edited:

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,555
304,545
1,213
Modding World
i have test it, still same
It's Encrypted, filled with 0 bytes
For now do some research, dump it from memory and recover it. I will make public tutorial if many games encrypt il2cpp but my method is useless in some games since encrypted bottom blocks can't be recovered by dump

 
Last edited:
Reactions: jarumgate

nik2143

Jr. PMT Modder
Staff member
Modding-Team
Jun 30, 2018
536
28,644
1,193
Italy
I hope for a release
 

opzon

Platinian
Apr 29, 2018
5
1
3
32
Somewher
Being new to modding I probably shouldn't be here. Regardless, with my game I didn't get blue text stating 'CodeRegistration' but I did follow the guide and this is for armeabi-v7a. Assuming my code registration is after R0, PC, R0 like yours is mine looks like D1CBB0 (not starting with a number) and my 'MetadataRegistration' looks like d533f0 (again, doesn't start with a number and idk if that would matter just seems weird to me).

Picture of the IDA location along with a picture of Il2CppDumper dumping out the registration code and of course I almost forgot the picture of the error when I enter the two.
 

Attachments

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,555
304,545
1,213
Modding World
@opzon Blue text are just my comments. You are doing right, this error just game compatibility issues. Can you tell me what game it is?