Tutorial Always load all DLLs in dnSpy. Useful functions can be hidden in other DLL files

AndnixSH

Security Detective
Staff member
Modding-Team
Jun 27, 2017
441
38,385
1,193
Denmark
It was been long time I modded a protected PRG game. Last year it was protected by packer and it did detect emulator, root and memory editor. Today I looked into the game again and realized the developer dropped the packer protection and detection but .dll still protected. Hmm… don't know why. The game worked perfectly on rooted emulator with GameGuardian running. No fake crashes.

There is something wrong with the game. I couldn't find anything useful in Assembly-CSharp.dll file, just some useless behavior designer, effects etc, and dnSpy failed to decompile the code. I opened Assembly-CSharp-firstpass.dll but it also failed to decompile the code. I gave up and went to sleep cause I wasted my time

CrZ5V0D.png

Next day, I had an idea. Load all DLLs into dnSpy and search and search. I finally found something useful functions that are not protected, MessageCS.dll. what the!?!? why is dev hiding useful functions in that file?

3tsojXF.png

Tested the mod, it worked perfectly

pxpDCar.png

So if you do not want to waste your time, make sure to load ALL DLL files, not Assembly-Csharp.dll. That way dnSpy can search more functions.

Wish your luck :)
 

69unknown69

Rooted Member
Apr 14, 2019
12
0
1
28
ph
hello! i have a problem regarding with this topic. i am trying to mod a game named "Archero" and i found out that the code ive been looking for looks the same with your screenshot. this is the code i need then the problem is when i decompile it to edit the code it generates this. if i change the red line the game will fked up. i wanted to attach a toggle but the return bla bla is red and if i return default(int) it returns 0 damage. please enlighten me
 

Attachments

AndnixSH

Security Detective
Staff member
Modding-Team
Jun 27, 2017
441
38,385
1,193
Denmark
i have checked the link you preferred to me sir. however the problem is when i apply it to a Mod Menu :(
you can just follow the link then you can add toggle after that
Show me screenshot of mod menu problem
 

69unknown69

Rooted Member
Apr 14, 2019
12
0
1
28
ph
you can just follow the link then you can add toggle after that
Show me screenshot of mod menu problem
image 1 is the original source code.
image 2 is where i followed the guide on the link you have given me. the problem is that if i turn on the cheat it does not work. but if i make the if selection to !Team.Black3 the cheat will work and it wont turn-off.
image 3 is the default source code if i edit the method
 

Attachments

Thread starter Similar threads Forum Replies Date
G-Bo ッ EXCLUSIVE ANDROID MODS BY PMT 13
sawelmout SHARED ANDROID MODS FROM EVERYWHERE 2
Yeowang EXCLUSIVE ANDROID MODS BY PMT 45
Yeowang EXCLUSIVE ANDROID MODS BY PMT 84
G-Bo ッ EXCLUSIVE ANDROID MODS BY PMT 54
G-Bo ッ EXCLUSIVE ANDROID MODS BY PMT 80
youssefvisto ANDROID APPS 1
G-Bo ッ EXCLUSIVE ANDROID MODS BY PMT 313
KingTrauma EXCLUSIVE ANDROID MODS BY PMT 24
KingTrauma EXCLUSIVE ANDROID MODS BY PMT 14
GNaFF EXCLUSIVE ANDROID MODS BY PMT 7
Yeowang EXCLUSIVE ANDROID MODS BY PMT 1
Crimsore ANDROID REQUEST SECTION 0
BMD4E ANDROID MODS BY APPROVED MODDERS 46
VinhThitLon EXCLUSIVE ANDROID MODS BY PMT 13

Similar threads


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!
  • Feel free to follow us on facebook as well =)

Forum statistics

Threads
16,613
Messages
315,226
Members
445,045
Latest member
SenoA