Idk the code that i suppose to fix though. How can i fix it. Anyway would be thank full if you show some template for it !
Also the thing im trying to search is already in the Help o posted.
local pi = gg.getRangesList("libnative-lib.so:bss")[1].start
local u = {}
u[1] = {address = pi + 0xAAF0, flags = 4}
a = gg.getValues(u)
local Value1 = a[1].value
u[1] = {address = pi + 0xAAF4 , flags = 4}
b = gg.getValues(u)
local Value2 = b[1].value
gg.clearResults()
gg.searchNumber(Value1..";-0~0;"..Value2.."::2809", 4)
local count = gg.getResultsCount()
local result = gg.getResults(count)
for i,v in ipairs(result) do
v.value = 1
v.flags = 4
end
gg.setValues(result)
t = nil
end
end
Here you go this is the offset of the Items in the shop from first to bottom im trying to search all the value starting from the offset of the first and stopping at the offset two so i can edit it by
500
0