View previous topic :: View next topic |
Author |
Message |
Paranoiaaa123 How do I cheat?
Reputation: 0
Joined: 21 Feb 2012 Posts: 6
|
Posted: Tue Feb 21, 2012 1:15 pm Post subject: Autoassamble-problem! |
|
|
Hello.
I have written this autoassamble-code:
However the ((abc.exe+01075E88) + 4) is not accepted!
Code: |
[ENABLE]
alloc(injectLocWrite,1024)
label(isPlayer)
"abc.exe"+2CD2B6:
jmp injectLocWrite
injectLocWrite:
push eax
mov eax,((abc.exe+01075E88) + 4)
cmp ecx,eax
pop eax
je isPlayer
movss [esi+08],xmm0
jmp "abc.exe"+2CD2BB
isPlayer:
jmp "abc.exe"+2CD2D6
[DISABLE]
dealloc(injectLocWrite)
"abc.exe"+2CD2B6:
movss [esi+08],xmm0
|
How do i solve this?
To make this more clearly:
if for example ((abc.exe+01075E88) + 4) is ponting to address 0AF70E04 and the stored value of 0AF70E04 is D3AC4000, i want D3AC4000 like this:
Code: | [ENABLE]
alloc(injectLocWrite,1024)
label(isPlayer)
"abc.exe"+2CD2B6:
jmp injectLocWrite
injectLocWrite:
push eax
mov eax,D3AC4000
cmp ecx,eax
pop eax
je isPlayer
movss [esi+08],xmm0
jmp "abc.exe"+2CD2BB
isPlayer:
jmp "abc.exe"+2CD2D6
[DISABLE]
dealloc(injectLocWrite)
"abc.exe"+2CD2B6:
movss [esi+08],xmm0 |
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Tue Feb 21, 2012 1:39 pm Post subject: |
|
|
Code: |
mov eax,["abc.exe"+01075E88]
mov eax,[eax+4]
|
_________________
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 |
|
 |
Paranoiaaa123 How do I cheat?
Reputation: 0
Joined: 21 Feb 2012 Posts: 6
|
Posted: Tue Feb 21, 2012 3:08 pm Post subject: |
|
|
this is working.
Thanks
|
|
Back to top |
|
 |
|