mabell1 How do I cheat?
Reputation: 0
Joined: 29 Nov 2020 Posts: 2
|
Posted: Mon Nov 30, 2020 1:08 pm Post subject: |
|
|
Searching the forum and copy pasting things (mostly dark byte) did the trick:
| Code: | ms=createMemScan()
memscan_firstScan(ms,1,vtDword,2,"HERE",nil,0,0x7fffffffffff,"+W*X",fsmLastDigits,"B",true,false,false,false)
memscan_waitTillDone(ms)
--get the result of the scans
fl=createFoundList(ms)
foundlist_initialize(fl)
local count=foundlist_getCount(fl)
if (count>0) then
for count = 0, count - 1 do
local saddress=foundlist_getAddress(fl, count) --get the first address
-- print("Adding "..saddress.." to the list")
--add to the addresslist
local al=getAddressList()
local mr=addresslist_createMemoryRecord(al)
memoryrecord_setDescription(mr,"Result of automated scan")
memoryrecord_setAddress(mr,saddress.."+4")
memoryrecord_setType(mr, vtDword)
end
else
print("No addresses found")
end
--cleanup
object_destroy(fl)
object_destroy(ms) |
|
|