View previous topic :: View next topic |
Author |
Message |
careca777 Expert Cheater
Reputation: 0
Joined: 27 Jul 2013 Posts: 121
|
Posted: Sun Nov 29, 2020 6:51 am Post subject: Code does not inject: offset too big |
|
|
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"GTA5.exe"+F4AB83)
label(returnhere)
label(originalcode)
label(exit)
globalalloc(accbasepointer,4)
newmem:
mulss xmm8,[rdi+34]
mov [accbasepointer],rdi
originalcode:
mulss xmm8,[rdi+34]
exit:
jmp returnhere
"GTA5.exe"+F4AB83:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"GTA5.exe"+F4AB83:
mulss xmm8,[rdi+34]
//Alt: db F3 44 0F 59 47 34 |
Hi experts, i have no idea how to solve this or what the issue exactly is.
Any input appreciated,
Best regards
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25719 Location: The netherlands
|
Posted: Sun Nov 29, 2020 8:37 am Post subject: |
|
|
replace globalalloc with alloc and then add a registersymbol(accbasepointer)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
careca777 Expert Cheater
Reputation: 0
Joined: 27 Jul 2013 Posts: 121
|
Posted: Sun Nov 29, 2020 9:09 am Post subject: |
|
|
That did the trick, many thanks.
|
|
Back to top |
|
 |
|