Discussion [libil2cpp.so] what would happon if I added more bytes

TagsX

Platinian
we usually overwrite bytes in libil2cpp.so but what if I added more extra bytes, if I have 32 length function(the length of the bytes) at offset 23E9C and wanted to add extra bytes so the function does something before executing the actually opcodes, would the libil2cpp.so code break down as its arm?

here a code that should call a function to log into console (if you can't read this ARM code, no problem just answer my question above)
C-like:
ADRP x8, #0x3b93000
ADRP x9, #0x3bcc000
LDR x8, [x8, #0x9f8]
LDR x9, [x9, #0xe20]
ORR w3, wzr, #0xf
MOV x2, x20
LDR x0, [x8]
LDR x1, [x9]
MOV x4, xzr
BL #0x24040cc
 
I want to try that but I'm on android, do you recommand any tools/apps?

For Android use AIDE, search on YouTube for how to download & set it up.
Some other useful apps for modding are

- APK Editor Pro
- APK Repacker
- APKtool M
- MT Manager

You can download them from various places online
 
I want to try that but I'm on android, do you recommand any tools/apps?

Frida. For hooking is a top1 tool, usually used for SSL unpinng, installed at PC, installed on android and with js do what you need. You can find a few SSL unpinning scripts get to have an idea of how this work and, based on this, write code for your needs.
 
Frida. For hooking is a top1 tool, usually used for SSL unpinng, installed at PC, installed on android and with js do what you need. You can find a few SSL unpinning scripts get to have an idea of how this work and, based on this, write code for your needs.
I found out about it, its looks simple and fairly beginner friendly but unfortunately I keep getting connection and spawning(crashing) errors so I may not use it
edit: I'm following this repo learn-frida
 
Back
Top Bottom