View previous topic :: View next topic |
Author |
Message |
ericwowo2003 How do I cheat?
Reputation: 0
Joined: 21 Oct 2009 Posts: 2
|
Posted: Wed Oct 21, 2009 6:47 am Post subject: Some question about pointers... |
|
|
I have a case like this:
mov ecx,[eax+edx*4]
It is a multiplication and edx is a variable
so i dont know how to find ecx with pointers and offsets..
can anyone teach me how to find ecx with pointers and offsets??
Last edited by ericwowo2003 on Wed Oct 21, 2009 9:20 am; edited 3 times in total |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Wed Oct 21, 2009 8:59 am Post subject: |
|
|
the offset is edx*4
just get edx, multiply that by 4, and you have the offset
Or see if you can find a different path without the *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 |
|
 |
ericwowo2003 How do I cheat?
Reputation: 0
Joined: 21 Oct 2009 Posts: 2
|
Posted: Wed Oct 21, 2009 9:27 am Post subject: |
|
|
Dark Byte wrote: | the offset is edx*4
just get edx, multiply that by 4, and you have the offset
Or see if you can find a different path without the *4 |
i have already gotten edx
but edx is a variable
the value would change
so i cant just multiply that by 4
Is offset only support addition?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Wed Oct 21, 2009 9:48 am Post subject: |
|
|
so the value of edx changes each time ?
Usually the index identifier (edx in this case) tends to have a value that's the same each time. (e.g weapon 1 has a offset of 1, weapon 2 offset 2, etc...)
in that case just find a different path or try code injection
_________________
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 |
|
 |
|