Jump to content

Question

Posted

What methods from dump are modifiable  other than get_ ? Also is there anywhere I can get usable hxd hexcodes for whatever methods? Any posts that explains how to modifye methods in GG? Are public void stuff modifiable? How would you modify something like that in gg

IMG_20240201_224613.jpg

3 answers to this question

Recommended Posts

  • 0
Posted

[ @congorla ]
---

Quote

Also is there anywhere I can get usable hxd hexcodes for whatever methods?

You need to understand ARM instructions first: Base Intructions. Then you can convert the ARM instruction into hex/bytes form using: ARM Converter
---

Quote

Are public void stuff modifiable?

Yes. Void is basically methods that are not returning something, it's purpose is to do something. You can either do these:
- Edit the method parameter if exist: (void AllPerks(parameter1)
- Jumping one void methods to another (Using B / BL / JMP instruction)
- Disabling the Void method (so it won't work):

--ARM 32 / Armeabi-v7a
MOV R0, R0
BX LR

--ARM 64 / Armv8a
NOP
RET

---

Quote

Any posts that explains how to modifye methods in GG?

We have a lot of topic covering this, but you might want to start with these:

---

Quote

How would you modify something like that in gg

It is really depends on what the method does. But in general, do something like this:

--Get the base address of libil2cpp.so
local base = gg.getRangesList("libil2cpp.so")[1].start
--Address of methods = (base address + method offset)
local addr = base + 0x10BBCDC

gg.setValues({
   {address = addr, flags = gg.TYPE_DWORD, value = '~A MOV R0, R0'},
   {address = addr + 0x4, flags = gg.TYPE_DWORD, value = '~A BX LR'} 
})

---

  • 0
Posted

void methods are bascally 
 

for k,v in pairs(Dictionary[some index]) do

  -- logic here 
  
  end

 

  • 0
Posted

[ @XEKEX ]
---

Quote

void methods are bascally 
 

for k,v in pairs(Dictionary[some index]) do -- logic here end

WHAT
---

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.