View previous topic :: View next topic |
Author |
Message |
myfrekt How do I cheat?
Reputation: 0
Joined: 21 Jul 2016 Posts: 4
|
Posted: Sat Jan 14, 2017 5:48 am Post subject: [Help] Pointer in auto assemble |
|
|
Hi guys.
I'm new to this and I have some question.
my pointer is 03418078 with 0 offsets and it pointed to my animation address
I want to mov #451 into the address that pointer pointed to. how can i do that?
my english sucks hope you guys not get confused.
thanks in advance.
Code: | [ENABLE]
globalalloc(animcheck,4096)
CREATETHREAD(animcheck)
registersymbol(mustend)
label(mustend)
label(code)
animcheck:
mov eax,(pointer)[03418078]
cmp eax,#453
je code
jmp animcheck
code:
mov [???????],#451 <<<<<<<<<<<<<< how can I move value 451 into the address that pointer 03418078 pointed to?
push #100
call sleep
cmp [mustend],01
jne animcheck
ret
mustend:
dd 00
[DISABLE]
mustend:
dd 01 |
|
|
Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Sat Jan 14, 2017 7:26 am Post subject: |
|
|
mov eax,[03418078] // fetch the address pointed to by 03418078
mov [eax],#451
make sure you push/pop if necessary to not mess up the registers.
_________________
|
|
Back to top |
|
 |
myfrekt How do I cheat?
Reputation: 0
Joined: 21 Jul 2016 Posts: 4
|
Posted: Sat Jan 14, 2017 10:16 am Post subject: |
|
|
got it work now.
thank you so much!
|
|
Back to top |
|
 |
D3LAY How do I cheat?
Reputation: 0
Joined: 14 Jan 2017 Posts: 1
|
|
Back to top |
|
 |
|