Jump to content
  • 0

ll2cpp


blocx

Question

Posted

hi all is there someone can explain me how to use i install it on pc but i cant open apk i dont know how to use thanks

8 answers to this question

Recommended Posts

Posted

Il2cpp binary modding takes a lot of time and effort to get down

First you need to dump the memory of the given .apk file 

This can be done with the largest .so (hopefully libil2cpp.so if not the process is going to be a bigger pain in the a**) and the metadata and using il2cpp dumper to do the memory dump. (Alternatively if you're trying to dump a game with protected metadata you can dump the memory with GG and use Enyby's get dll from bin program)

You should use WINrar instead of decompiling and recompiling with apktool that way you only have to resign the application instead of the compiling process, just as .apk files as a custom extension in WINrar you should be able to open apk's as archives now.

The dumped memory should give you dummydll's and a dump.cs file, either one of those can be used to find offsets correlating to a desired method. If you're using dump.cs then you should use notepad++ if you want to navigate the .dll's then you should use Dnspy.

Finding the right method to edit can be a bit of a hassle too as it takes a decent understanding of C++ syntax to know which methods in which classes are the ones you want. When you find an appropriate method it should have a 9 digit offset for example 0x------- ignore the 0x part and copy the letters in numbers where the ------- are. 

Open up HXD or any hex editor software and load the .so file into it and search the offset (Ctrl+G for HxD) then copy the hex code convert it to arm and assess the proper op codes to change (for example if it's a deduct coins method and the operand sub is present in the converted code change sub to add so it adds to the value instead of subtracting not all operands are this self explanatory though and youll need to look into arm assembly language to get a better idea of these)

After replacing and converting it back to hex replace the old hex code line with your new hex code don't use Ctrl+V to paste though it will insert instead of overwriting the code and it will change the byte size of the .so and make the game return a lib.error use Ctrl+B instead.

Exit and save HxD and load the edited .so back into the apk file. Carry the edited apk file back to your phone and sign it with an apksigner.

**NOTE**

APK MODDING ISNT REALLY GAME GUARDIAN RELATED

There are forums more focused on that out there, consider using the Non-GameGuardian thread the help thread is more for GameGuardian related issues and questions

Good luck!:D

Posted

me? i hav no problems... im just saying that... bcz that upvote will increase his popularity & most of us care for that very much

 

of course, if u dont want to do that, its also fine

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.