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


Dump libil2cpp.so and global-metadata.dat file

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



Kommentarer