1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| [ENABLE] //code from here to '[DISABLE]' will be used to enable the cheat alloc(newmem,$1000,"b1-Win64-Shipping.exe"+2BDEB42) registersymbol(SpellRecoverySpeed) //注册 label(returnhere) label(originalcode) label(SpellRecoverySpeed) label(exit)
newmem: //this is allocated memory, you have read,write,execute access //place your code here
originalcode: movss xmm2,[SpellRecoverySpeed] //相乘 mulss xmm1, xmm2 subss xmm0,xmm1 mov rcx,r15
exit: jmp returnhere
SpellRecoverySpeed: dd (float)1.0 //默认1.0
"b1-Win64-Shipping.exe"+2BDEB42: jmp newmem nop 2 returnhere:
[DISABLE] //code from here till the end of the code will be used to disable the cheat unregistersymbol(*) dealloc(*) "b1-Win64-Shipping.exe"+2BDEB42: //subss xmm0,xmm1 //mov rcx,r15 db F3 0F 5C C1 49 8B CF
|