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
![](https://i.imgur.com/IYBTF1F.png)
In the GUI
version of dumper, it will also write the MetadataRegistration offset for you
![](https://i.imgur.com/0brE84J.png)
Disassemble libil2cpp.so
file with IDA Pro and let it finish loading for a while
Press G and
jump to address of MetadataRegistration
![](https://i.imgur.com/AbS28r9.png)
Press X to view
xrefs as follows.
![](https://i.imgur.com/X7EmTNy.png)
Double-click
on the blue selection in the figure to jump.
armeabi-v7a:
The CodeRegistration
offset is right below MetadataRegistration
![](https://i.imgur.com/jlNTb7w.png)
arm64-v8a:
Press space to switch to graph mode and look way above
Press space to switch to graph mode and look way above
![](https://i.imgur.com/0vpAl4H.png)
Can't press space due to red instructions?
Click on the loc_xxxxx and press X to view xrefs as follows.
![](https://i.imgur.com/TDJR8to.png)
Double-click on the blue selection in the figure to jump.
Click on the loc_xxxxx and press X to view xrefs again
![](https://i.imgur.com/283LIW9.png)
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
![](https://i.imgur.com/8j6XC7M.png)
x86:
The
CodeRegistration offset is right below MetadataRegistration
![](https://i.imgur.com/cXKiTcF.png)
Relaunch
il2cppdumper and dump manually with the offsets you have found
![](https://i.imgur.com/hrlBBuz.png)
Comments
Post a Comment