Bypass protection in obfuscated DLL file

Some Unity games (Mono backend) are using weird protection in Assembly-Csharp.dll file. If you mod the dll, the game won’t load, causing game issues or crashes

After the developer moved to il2cpp, I can disclose how I bypassed protection

Assuming you are using dnSpy. Before saving DLL, preserve all MD Tokens then save

1614443231725.png

Preserving MD tokens and saving may cause error with some changes you made. If it happens, undo your changes and edit in IL as possible instead C#, until there is no errors during saving.

Using de4dot deobfuscation tool automatically preserve all MD Tokens

Comments

Popular Posts

VMOS Pro - FREE Custom ROMs without VIP | GMS, ROOT, Xposed | Android 4.4.4, 5.1.1, 7.1.2, 9.0 ROMs

How to activate VMOS Assistant to run VMOS on Android 12 and above