Olá estou tentando passar um script de cheat engine para visual basic
Script Cheat Entine
-- get the base address
local baseAddress = 0xED0000
-- light intensity = 0xFF
-- light color = 0xD7
local lightValue = { 0xFF, 0xD7 }
-- address to creature pointer
local creaturePtrAddress = baseAddress + 0x0057214C
-- offset to light address
local lightOffset = 0xA0
-- first, read pointer
-- later, write light value to light offset
local creaturePtr = readInteger(creaturePtrAddress)
if (creaturePtr and creaturePtr ~= 0) then
local lightAddress = creaturePtr + lightOffset
writeBytes(lightAddress, lightValue)
end
0xED0000 = 15532032
0x0057214C = 5710156
creaturePrtAdress = 0144214C ou 21242188
o meu problema é nessa parte
local creaturePtr = readInteger(creaturePtrAddress)
essa função readInteger pega o valor do mov "ecx" que varia no aplicativo
Como eu faço para pegar o "ecx" usando o visual basic?