Moin Leute, ich wollte mal nachfragen ob es in Autoit möglich ist, eine Cheat Engine aob script zu injecten.
Hier ist der Script den ich gerne injecten würde:
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
label(whatever)
registersymbol(whatever)
aobscan(aob1,D9 5F 34 D9 47 30 D9 47 24 DE C1 D9 5F 30 D9 47 34 D9 47 10 83 EC 08 83 EC 04 D9 1C 24 83 EC 04)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
exit:
jmp returnhere
aob1:
whatever:
jmp newmem
nop
nop
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
whatever:
db D9 5F 34 D9 47 30 D9 47 24 DE C1 D9 5F 30 D9 47 34 D9 47 10 83 EC 08 83 EC 04 D9 1C 24 83 EC 04
unregistersymbol(whatever)
Wie könnte man das realisieren?