| View previous topic :: View next topic |
| Author |
Message |
Seker Grandmaster Cheater
Reputation: 0
Joined: 04 Jan 2007 Posts: 529
|
Posted: Sat Jul 07, 2007 2:03 am Post subject: need a bit help with asm ^^ |
|
|
okay....i looked on all...the tutorials but none has told me how to change
a value from a pointer+offset and keep it ALWAYS the same number
(a "- number" i e "-3255")
so if anyone could help me a bit
_________________
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Mon Jul 09, 2007 1:05 am Post subject: |
|
|
freezing? O_o
or a script?
mov eax,[pointer]
mov eax,[eax+offset]
dd -3255 //but in hex, if u want...
jmp to start O_o i think...
is that what u mean?
|
|
| Back to top |
|
 |
Seker Grandmaster Cheater
Reputation: 0
Joined: 04 Jan 2007 Posts: 529
|
Posted: Mon Jul 09, 2007 2:00 am Post subject: |
|
|
...
the script is meant to freeze a value from a pointer+offset
and the value in this case is (-3255)
_________________
|
|
| Back to top |
|
 |
compactwater I post too much
Reputation: 8
Joined: 02 Aug 2006 Posts: 3923
|
Posted: Thu Jul 12, 2007 3:09 pm Post subject: |
|
|
| Code: | mov eax,[pointer]
mov eax,[eax+offset]
mov eax,YOUR_NUMBER
jmp return_address |
Is that what you mean?
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Thu Jul 12, 2007 4:05 pm Post subject: |
|
|
you have to make sure the address you inject it into is accessed quite often
| Code: | mov eax, [base]
mov eax, [eax+offset]
mov eax, value //; 3225 or whatever. |
Negative hex is 2's complement plus 1.
_________________
|
|
| Back to top |
|
 |
|