script code:
local results = gg.getResults(gg.getResultsCount())
for i,v in ipairs(results) do
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber(v.address - 0x0, gg.TYPE_DWORD)
end
log file:
gg.getResultsCount()
gg.getResults(6)
--[[ count: 6 ]]
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber(1666332864, gg.TYPE_DWORD)
--[[ found: 0 ]]
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber(1666333760, gg.TYPE_DWORD)
--[[ found: 1 ]]
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber(2085230528, gg.TYPE_DWORD)
--[[ found: 0 ]]
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber(2090407328, gg.TYPE_DWORD)
--[[ found: 2 ]]
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber(2123701312, gg.TYPE_DWORD)
--[[ found: 0 ]]
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber(2195650848, gg.TYPE_DWORD)
--[[ found: 1 ]]
when i run the script only the 2nd, 4th and 6th results are searched. but in the log file all 6 results are shown as searched.
pointer.mp4