Я написал,но пишет "не все инструкции пригодны к инъекции"
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(INJECT,8B 7A 08 8B 77 50 8B) // should be unique
alloc(newmem,$1000)
label(EbxChecker)
registersymbol(EbxChecker) //Регистрируешь метку
yourcode:
mov [EbxChecker],ebx
originalcode:
mov edi,[edx+08]
mov esi,[edi+50]
jmp exit
EbxChecker: //Размер метки, 4 байта
dd 0
INJECT:
db 8B 7A 08 8B 77 50
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 8B 7A 08 8B 77 50
unregistersymbol(INJECT)
unregistersymbol(EbxChecker)
dealloc(newmem)