Just messing around with different mono hacking methods, but stuck at this part. I was able to use the mono lua commands to consistently get the base address that I want to use for pointers/other codes. But not able to get that to write to the symbol I made for it.
Thought at first maybe value is not in the correct format but no dice with conversions.
Think I am missing an obvious step. Please point me in the right direction!
[ENABLE]
registersymbol(baseaddress)
alloc(baseaddress,64)
baseaddress:
dd 0
{$lua}
images={}
for i=1, #a1 do
images[i]=mono_getImageFromAssembly(a1[i])
if mono_image_get_name(images[i])=="Assembly-CSharp" then
classes=mono_image_enumClasses(images[i])
for j=1, #classes do
if classes[j].classname=="GameManager" then
baseaddress=mono_class_findInstancesOfClassListOnly(d[1],classes[j].class)
--print(string.format("%.8x",baseaddress[1]))
end
end
end
end
--[[addy=readStringLocal(baseaddy,8)
temp=stringToByteTable(addy)
addy1=byteTableToDword(temp)
--]]
{$asm}
[DISABLE]
unregistersymbol(baseaddress)
dealloc(baseaddress)
Last edited by nihilism on Sat Mar 21, 2020 3:06 pm, edited 1 time in total.