Jump to content
  • 0

Tell me how to work with offset through the library


VladimirPutin

Question

i have example code

 

 

function RadarHack()
local result = gg.getRangesList('libil2cpp.so')
local addr = null
local addr2 = null
local i = 0
while true do
i = i + 1
if result[i].type == "r-xp" then
addr = result[i].start + 0x18D3688
addr2 = result[i].start + 0x18D3688+4
break
end
end
gg.setRanges(gg.REGION_CODE_APP)
l = {}
l[1] = {}
l[1].address = addr
l[1].name = "Test"
l[1].flags = gg.TYPE_DWORD
l[2] = {}
l[2].address = addr2
l[2].name = "Test"
l[2].flags = gg.TYPE_DWORD
l[1].flags = gg.TYPE_DWORD
l[1].value = 'h 20 00 80 52'
l[2].flags = gg.TYPE_DWORD
l[2].value = 'h C0 03 5F D6'
gg.addListItems(l)
gg.clearList()
gg.setValues(l)
gg.toast("ᴀᴄᴛɪᴠᴀᴛᴇᴅ")
end

 

 

for whom it is not difficult, please write down each line in detail so that in the future I myself could write such scripts, thank you.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.