roflmao1337
Platinian
Hello there,
I found this place while attempting to mod a game myself for the first time and so far I digged through alot of threads / videos.
However, I have some basic questions and it would be great if you could help me with them:
I want to mod an online game that was built in Unity and is a il2cpp filesystem.
So far I decompiled the apk with APK Easy Tool and used a Il2Cpp dumper to get a dumpfile that I can inspect.
I also used Dex2Jar and Jadx to view the Java code.
First question: what is the difference between the java code and the code thats in the libil2cpp.so file?
Why are there two different places with methods and classes?
It looks like I cant find the classes and methods of one of those places in the other one, too.
While the java has code like the MainActivity and purchase information, the libil2cpp.so file is where the sweet stuff seems to be located (gold, diamonds, combat information etc.)
So is the libil2cpp.so maybe just a mirror for the functions that are executed server-sided or why does it exsist?
And do I have to apply modifications to both places to make something actually work or is the libil2cpp.so sufficient?
Also the libil2cpp.so lacks context. It mostly consists of variable declaration & getter and setter for it. But I cant find code in it how and at what point these are actually executed.
Is there a way to attach something like a debugger to methods? or something as basic as a print function or a popup in game that appears once a certain method is called?
My goal in the end is not only to modify the game but I would also like to build a bot for it which does not use the GUI.
Something that follows simple commands in game like claim resources, do some daily quest etc.
Is that possible by modifying the game files? (code injection?) How would I do this?
Can I maybe write my own program that somehow uses the game as an API and executes code there?
Lastely, Im new to the modding scene so I still have to do alot by trial and error. However, each time I changed the libil2cpp.so file, so far I re-compile the app and install it to my emulator. It then updates to newest version of the game and then after like 5 mins I can finally test if my modification worked. Is there a quicker way?
Thanks alot in advance!
I found this place while attempting to mod a game myself for the first time and so far I digged through alot of threads / videos.
However, I have some basic questions and it would be great if you could help me with them:
I want to mod an online game that was built in Unity and is a il2cpp filesystem.
So far I decompiled the apk with APK Easy Tool and used a Il2Cpp dumper to get a dumpfile that I can inspect.
I also used Dex2Jar and Jadx to view the Java code.
First question: what is the difference between the java code and the code thats in the libil2cpp.so file?
Why are there two different places with methods and classes?
It looks like I cant find the classes and methods of one of those places in the other one, too.
While the java has code like the MainActivity and purchase information, the libil2cpp.so file is where the sweet stuff seems to be located (gold, diamonds, combat information etc.)
So is the libil2cpp.so maybe just a mirror for the functions that are executed server-sided or why does it exsist?
And do I have to apply modifications to both places to make something actually work or is the libil2cpp.so sufficient?
Also the libil2cpp.so lacks context. It mostly consists of variable declaration & getter and setter for it. But I cant find code in it how and at what point these are actually executed.
Is there a way to attach something like a debugger to methods? or something as basic as a print function or a popup in game that appears once a certain method is called?
My goal in the end is not only to modify the game but I would also like to build a bot for it which does not use the GUI.
Something that follows simple commands in game like claim resources, do some daily quest etc.
Is that possible by modifying the game files? (code injection?) How would I do this?
Can I maybe write my own program that somehow uses the game as an API and executes code there?
Lastely, Im new to the modding scene so I still have to do alot by trial and error. However, each time I changed the libil2cpp.so file, so far I re-compile the app and install it to my emulator. It then updates to newest version of the game and then after like 5 mins I can finally test if my modification worked. Is there a quicker way?
Thanks alot in advance!