I was searching for a tutorial to learn how to make a working edit box for my code injection script. I have a script that you can change the amount of racers when you are racing, but I want to make a possibility that I will write a number on edit box and then freeze address and the written value will be activated in game. I dont know how to do this, is there any tutorial about that to learn that method?
I wanna use this method in my Code Injection Script.
Code: Select all
[ENABLE] //code from here to '[DISABLE]' will be used to enable the cheat alloc(newmem,2048) label(returnhere) label(originalcode) label(exit) newmem: //this is allocated memory, you have read,write,execute access //place your code here mov [edi+2C],#24 originalcode: mov eax,[edi+2C] mov [esi+2C],eax exit: jmp returnhere "Asphalt8.exe"+8710E: jmp newmem nop returnhere: [DISABLE] //code from here till the end of the code will be used to disable the cheat dealloc(newmem) "Asphalt8.exe"+8710E: mov eax,[edi+2C] mov [esi+2C],eax //Alt: db 8B 47 2C 89 46 2C