----------------------------------------------- Functions and variables
function getByteString(address, bytecount)
local bytes = readBytes(address, bytecount, true)
if bytes then
local result = ""
for i = 1, #bytes do
if #result > 0 then result = result .. " " end
result = result .. string.format("%02X", bytes[i]) end
return result end
end
function aobResult(aobStr)
res = AOBScan(aobStr)
j = 0
cnt = 1
if (res~=nil) then
print("Results found: "..res.Count)
while j < res.Count do
a = getByteString(res[j], 12)
memo1.append("Address "..cnt.." = "..res[j].." --> AOB : "..a)
j=j+1
cnt = cnt+1
end
res.destroy()
res=nil
else
showMessage("No results found or no process opened")
return
end
end
function button1_click()
aobs = edit1.Text
if aobs == "" or aobs == nil then showMessage("No AOBs to be search!") return end
memo1.clear()
aobResult(aobs)
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum