Help! Unity Game which contains libil2cpp.so

  • You need at least 5 clean posts on our forum to be able to open a thread here [Spam Clean]

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
Hello I've got a question about modding an Unity Game which is protect with a libil2cpp.so file. In my case I want to remove the Premium Choice from the Game, which would normally consume the InGame currency. So where can I found the Offset, which will change the Code to remove the Premium Choice?

Edit: I tried to use NOP, to ignore the the Premium function, which would require InGame Currency. Somehow it still doesn't work *sigh* Also are the Hex Codes between ARM64 and ARM7 the same or are they different to each other?

And yes don't mind the title, it's stupid Ik
 
Last edited:

Yaskashije

PMT Elite Modder
Staff member
Modding-Team
Sep 9, 2018
2,843
355,978
1,213
Minkowski Space
You need to find the offset in the libil2cpp.so file itself using a program like HxD.
Instructions are different, so make sure you delete Arm v8a folder, and just mod Armeabi one.
Function is a bool; nopping won't work on it. Learn the basics of c programming to understand why, and what should you do.
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
You need to find the offset in the libil2cpp.so file itself using a program like HxD.
Instructions are different, so make sure you delete Arm v8a folder, and just mod Armeabi one.
Function is a bool; nopping won't work on it. Learn the basics of c programming to understand why, and what should you do.
Bruh nvm, might found a solution.
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
You could also search the function for the premium currency (in most cases it’s like get_Diamonds, get_Gems or getDiamonds and so on) - it would just be bad if the game is server sided ?
Well it is sadly, since they updated their Security. The only way to mod the game is to mod the function get_Premium_Choice.
 

вяфκзη

Awesome Active Platinian
Apr 30, 2020
130
3,936
193
ɲ๏ţ ɨď€ɲţɨƒɨ€ď ąя€ą
Well it is sadly, since they updated their Security. The only way to mod the game is to mod the function get_Premium_Choice.
And is it a simple bool? Then you can simply return it to false I guess
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
And is it a simple bool? Then you can simply return it to false I guess
Well @Bedo13 told me, that he tried to mod this Functions before but somehow it doesn't worked. But Ik that it is possible because someone from AR modded some of the latest Games and it worked fine. Soo I'll test it later again when I've got time for it.
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
So I tested a few functions, but somehow I still don't understand why it reduces Rubies. The function,,isAlreadyPurchased" means that I already purchased the Choice for Rubies. If I would change the Function,,isPremiumChoice" to False, then it wouldn't want Rubies for it right?
 

Yaskashije

PMT Elite Modder
Staff member
Modding-Team
Sep 9, 2018
2,843
355,978
1,213
Minkowski Space
So I tested a few functions, but somehow I still don't understand why it reduces Rubies. The function,,isAlreadyPurchased" means that I already purchased the Choice for Rubies. If I would change the Function,,isPremiumChoice" to False, then it wouldn't want Rubies for it right?
Maybe they work separatelly, and devs use this "ispremium" for visual, or added data, that doesnt affect its cost.
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
Maybe they work separatelly, and devs use this "ispremium" for visual, or added data, that doesnt affect its cost.
Yeah... the IsAlreadyPurchased function is visual cause I tested it already, but I must note that I didn't use the Code for the Bool Function. I used 01 00 A0 E3 1E FF 2F E1 instead of 01 00 A0 E3 1E FF 2F E1. However it just removed the Visual from the Choice soo...
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
So I tried to mod the Function ,,isPremiumChoice" to False=Result when Game is signed= Crash. When I made the apk unsigned then the Game won't install. Maybe I have to change the function to True ?
 

Yaskashije

PMT Elite Modder
Staff member
Modding-Team
Sep 9, 2018
2,843
355,978
1,213
Minkowski Space
So I tried to mod the Function ,,isPremiumChoice" to False=Result when Game is signed= Crash. When I made the apk unsigned then the Game won't install. Maybe I have to change the function to True ?
If you didnt screw, maybe it has protection.
You cant install unsigned on non rooted devices
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
If you didnt screw, maybe it has protection.
You cant install unsigned on non rooted devices
Ik that fact dw. Anyway I changed the function isPremiumChoice to True and it crashed again. There are also some functions like setRubies or getRubies but I don't think the Modder changed those function from a different Game.
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
Sigh* it's hopeless. I don't know which function the Modder used bc every single function I tried to change, which I had hoped were the only ones that would make it possible to didn't gave me the result I wanted.
 

вяфκзη

Awesome Active Platinian
Apr 30, 2020
130
3,936
193
ɲ๏ţ ɨď€ɲţɨƒɨ€ď ąя€ą
Sigh* it's hopeless. I don't know which function the Modder used bc every single function I tried to change, which I had hoped were the only ones that would make it possible to didn't gave me the result I wanted.
You should start with games that are “easier” like temple run if you are still a beginner.. with time you get better and understand more than you do right now and maybe you come back to this game and try your best ?
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
You should start with games that are “easier” like temple run if you are still a beginner.. with time you get better and understand more than you do right now and maybe you come back to this game and try your best ?
Well sadly no... I'm only interested into those Games. Ik what u mean but even when I start with easier games, it won't change my view
 

Yaskashije

PMT Elite Modder
Staff member
Modding-Team
Sep 9, 2018
2,843
355,978
1,213
Minkowski Space
Well sadly no... I'm only interested into those Games. Ik what u mean but even when I start with easier games, it won't change my view
Well, thing is, when you follow a tutorial, it feels pretty straight forward.
Like, we put this keyword, we find the feature, we patch, task fulfilled within minutes.

But in reality, you may have to try several keywords, that could have the order of hundreds of matchings in the dump.cs, patching a bx lr may break the stack so you may have to use IDA, etc
Since there are more CoG out there, you may try modding them; since some of them may be easier than the one you have on yur hands rn.
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
Well, thing is, when you follow a tutorial, it feels pretty straight forward.
Like, we put this keyword, we find the feature, we patch, task fulfilled within minutes.

But in reality, you may have to try several keywords, that could have the order of hundreds of matchings in the dump.cs, patching a bx lr may break the stack so you may have to use IDA, etc
Since there are more CoG out there, you may try modding them; since some of them may be easier than the one you have on yur hands rn.
True story man but it won't change my view of it. Somehow I'll find a solution and if not... well then I just have to keep patience until someone updated those Mods.
 

Deadteea

Platinian On Fire
Original poster
Apr 9, 2020
236
913
193
24
Kotoamatsukami
And yes u were right. Those was just an easier one. The newest Games have a better Protection. Just saying Obfuscation in each DLL files. So I'll give up
 

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!

Forum statistics

Threads
46,856
Messages
1,374,532
Members
2,693,036
Latest member
dsgyds4434