AllCowsAreBurgers How do I cheat?
Reputation: 0
Joined: 17 Oct 2014 Posts: 3
|
Posted: Fri Oct 17, 2014 6:39 pm Post subject: Where Is The offset and pointer? |
|
|
Hey
I have got a table from somewhere on this forum, dont ask me where, i donīt know...
Could anybody please tell me what there is the pointer and what the offset?
Here the example auto assemble script:
Code: | [ENABLE]
Registersymbol(_AddMoney)
alloc(_AddMoney,4)
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
label(AddMoney)
newmem: //this is allocated memory, you have read,write,execute access
cmp byte ptr [_AddMoney],1
je AddMoney
jmp originalcode
AddMoney:
//cmp dword ptr [esi+eax*4+30],(int)4
//cmp dword ptr [esi+eax*4+a0],(int)266
//cmp dword ptr [esi+eax*4+c4],(int)30
cmp dword ptr [esi+eax*4+d0],(float)30
//cmp dword ptr [esi+eax*4+d4],(float)1
jne originalcode
mov byte ptr [_AddMoney],0
add dword ptr [esi+eax*4+000002AC],#100
jmp originalcode
originalcode:
mov eax,[esi+eax*4+000002AC]
exit:
jmp returnhere
"BorderlandsPreSequel.exe"+4C15B8:
jmp newmem
nop
nop
returnhere:
_AddMoney:
dd 0
[DISABLE]
Unregistersymbol(_AddMoney)
dealloc(_AddMoney)
dealloc(newmem)
"BorderlandsPreSequel.exe"+4C15B8:
mov eax,[esi+eax*4+000002AC]
//Alt: db 8B 84 86 AC 02 00 00 |
Thank you!
|
|