Jump to content
  • 0

How to get address of a Iibil2cpp after get results from getRangesList


Codex1994

Question

Hi guys,

I'm trying to calculate the offset from GG itself cause I found the gems amount variable address already.

So the first thing I do is searching for libil2cpp, and I want to get the offset between the variable address and the lib address.

local lib_maps = gg.getRangesList(("/data/*" .. gg.getTargetInfo().packageName .. "*libil2cpp*.so"));
local il2cppAddress = lib_maps[1]['start'] -- This's equal to 117981184

local gemAddress = 0x7FFE367EF9A0
gg.copyText(gemAddress - il2cppAddress) -- This one return a very big number
gg.toast('Copy offset to the clipboard!')

 

But there must be a different between start property and the variable address

Please help me to clarify the issue here,

 

Thanks

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.