Approved How to mod games with LIBs (not Unity)

Thank you @icry4u and @iAlex!!!!!!!
I didn't expect you guys to come out and explain it to a newbie like me and replying so fast too!! and yes i finally got it all working!
The code in libgames.so was a little bit different because i was working with latest BF v1.15.3.0. The code and the HEX were all different and i had some trouble with IDA View. but oh man it works! the feeling that you edit it and it works is Amazing!!! LOL.


one small thing i was curious about was what is the difference between THUMB and THUMB-2 hex?

LDR R0, =10000
BX LR
on website generated
THUMB HEX as 0048 7047 10270000
THUMB-2 HEX as 0048 7047 00001027

I notice you used the THUMB-2 HEX one.
( i tried out both, the 00001027 one gave the player like 60,000+ dmg, while the 1027000 gave the player about 10,000+ dmg). LOL

while you did a second way for HP using
MOV R0, #255
MUL R0, R0
BX LR
on website generated
THUMB HEX as FF20 4043 7047
THUMB-2 HEX as 4FF0FF00 00FB00F0 7047
This one you picked THUMB HEX instead.

is it because the the thumb-2 looks too strange? haha

either way thank you again so much for this video! I think i learned a lot. to someone who have never even tried at Modding. just the feeling of editing something myself and actually have it work is amazing! especially BF was a game i played 2 years ago and spend quite a lot into too haha.

Thank you guys so much again!

my goal is to learn to mod Onmyoji(global). hahaha. one day i'll figure out how to do it. haha.

Thank you!

AArch32 = 32 bit 👇

T32 = Thumb instruction
is 2 or 4-byte (Narrow and Wide)

A32 = ARM instruction
is 4-byte

AArch64 = 64 bit 👇

A64 = ARMv8
is 4-byte

All ARMv8 and ARMv7 processors support Thumb-2 instructions in the T32.
Also Thumb-2 reduces Memory Footprint and is better for performance.
 
Hi! I have a question. So what if within the lib, there are two folders "armeabi" and "armeabi-v7a", which one should I mod? Or do I have to mod both? Thank you in advance xd
 
Hi! I have a question. So what if within the lib, there are two folders "armeabi" and "armeabi-v7a", which one should I mod? Or do I have to mod both? Thank you in advance xd
If you have armeabi,armv7a and x86
Just delete armv7a and x86 and mod armeabi
 
Hi, I have a question. Why I can't find ::getAtk, monster, defend, MaxHP ?
I want to mod Ocean Rebellion Next Pirate King and the lib name is libcocos2djs.co, is the lib use this method or another method?
thanks in advance
 
Hi, I have a question. Why I can't find ::getAtk, monster, defend, MaxHP ?
I want to mod Ocean Rebellion Next Pirate King and the lib name is libcocos2djs.co, is the lib use this method or another method?
thanks in advance
maybe the lib is not used for those things and game has other files for that like LUA or JS files

@iAlex how about this libG2CppLib.so?
 
maybe the lib is not used for those things and game has other files for that like LUA or JS files
@iAlex you mean like this:
83169
 
yeah , like those
you have to have fun with them probably to mod the game lol
 
Hi, I want to mod a game call Battle Supremacy. In that game I want to mod RELOAD time to instantly reload. What code should I use? This game use libgame.so
 
Hi, I want to mod a game call Battle Supremacy. In that game I want to mod RELOAD time to instantly reload. What code should I use? This game use libgame.so
reload SPEED ?
 
reload SPEED ?
Yes and I also want my tank to move faster too if possible. Sum it up, I want my tank to shoot instantly (without waiting to reload) and move at faster speed. Please help me.
 
Yes and I also want my tank to move faster too if possible. Sum it up, I want my tank to shoot instantly (without waiting to reload) and move at faster speed. Please help me.
You can play with ammo or firerate
 
If you find hard finding even this basic search words better place a request in request section and leave the work for us lol
 
Does arm64 mean it's protected? I can't find any atk in the libcocos2dcpp.so in the arm64-v8a folder and the armeabi-v7a folder.
 

Attachments

  • Capture.webp
    Capture.webp
    26.4 KB · Views: 74
Does arm64 mean it's protected? I can't find any atk in the libcocos2dcpp.so in the arm64-v8a folder and the armeabi-v7a folder.
Maybe game has stripped exports or you don't have to edit the lib but other files
 
Back
Top Bottom