Nikhil336 Posted July 17, 2022 Share Posted July 17, 2022 By using offsets I found a value type Qword then I have to search that value but I don't know what to write further gg.searchNumber("1,072,861,020D;152,727D:21", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("152727", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) local j = gg.getResults(1, nil, nil, nil, nil, nil, nil, nil, nil) gg.addListItems(j) j = nil gg.clearResults() local copy = false local j = gg.getListItems() if not copy then gg.removeListItems(j) end for i, v in ipairs(j) do v.address = v.address + 0x28 v.flags = gg.TYPE_QWORD if copy then v.name = v.name..' #2' end end gg.addListItems(j) j = nil copy = nil Link to comment Share on other sites More sharing options...
Question
Nikhil336
By using offsets I found a value type Qword then I have to search that value but I don't know what to write further
gg.searchNumber("1,072,861,020D;152,727D:21", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("152727", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
local j = gg.getResults(1, nil, nil, nil, nil, nil, nil, nil, nil)
gg.addListItems(j)
j = nil
gg.clearResults()
local copy = false
local j = gg.getListItems()
if not copy then gg.removeListItems(j) end
for i, v in ipairs(j) do
v.address = v.address + 0x28
v.flags = gg.TYPE_QWORD
if copy then v.name = v.name..' #2' end
end
gg.addListItems(j)
j = nil
copy = nil
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.