omoe Grandmaster Cheater
Reputation: 8
Joined: 11 Jun 2013 Posts: 547
|
Posted: Fri Oct 11, 2013 11:39 am Post subject: How to use this AA script in C#? |
|
|
Hi , So i just started learning C# and i done some stuff like database connections , reading bytes writing bytes some other stuff but i wanna know how this simple AA would look like in C# ? specially the aobscan with wildcards , Thanks .
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
aobscan(sHealth,89 87 34 01 00 00 ?? ?? 00 00 00 8D 65 FC)
registersymbol(sHealth)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov [edi+00000134],#200
exit:
jmp returnhere
sHealth:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
sHealth:
mov [edi+00000134],eax
//Alt: db 89 87 34 01 00 00
unregistersymbol(sHealth) |
|
|