Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function FindAndReplaceDouble(find, replace)
- ms=createMemScan()
- ms.firstScan(soValueBetween, vtDouble, rtTruncated, find,find,0,0xffffffffffffffff,'+W*X-C', fsmAligned,'4', false, false, false, false)
- fl=createFoundList(ms)
- ms.waitTillDone()
- fl.initialize()
- if fl.Count>0 then
- local i
- for i=0,fl.Count-1 do
- if readDouble(fl.Address[i])==find then
- writeDouble(fl.Address[i],replace)
- end
- end
- end
- fl.destroy()
- ms.destroy()
- end
- FindAndReplaceDouble(27844321, 139578207)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement