| View previous topic :: View next topic |
| Author |
Message |
JohnDude Newbie cheater
Reputation: 0
Joined: 30 Aug 2013 Posts: 20
|
Posted: Sun Aug 10, 2014 10:58 am Post subject: [QUESTION] call 'function' manually |
|
|
Hey I play one game where I must read some value from eax register but there is a problem because that value is pushed to register only if a function is called when space button is pressed,I would like to read it on demand. So question is How do I call it?
here's the screenshot:
s21.postimg.org/h1h6hi76v/XXX.jpg
Last edited by JohnDude on Sun Aug 10, 2014 4:06 pm; edited 4 times in total |
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Aug 10, 2014 12:41 pm Post subject: |
|
|
The call is not important if you only need to read the value. You can look to see if any other instructions access that value, or incorporate a pointer address - either in a custom script or hook it somewhere else. There are other ways, but these might be easier.
That said, if you must call the function, simply find the conditional jump(s) or calls that determine when/if that call runs. Forcing the call to run every time might cause problems, however, so it is best to use the above approach so that you are not dependent on working around the call.
|
|
| Back to top |
|
 |
JohnDude Newbie cheater
Reputation: 0
Joined: 30 Aug 2013 Posts: 20
|
Posted: Sun Aug 10, 2014 4:11 pm Post subject: |
|
|
that value I want to read is stored in eax register ( first post edited).I also thought about calling the function from any other place in game memory (e.g when I move it writes to coords so it would be quite often execited) but when I put call in that code then the game crashes.
I have no idea what to do next.
I must push pop something?
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Aug 10, 2014 4:49 pm Post subject: |
|
|
| What is it that you are trying to do, exactly? If I know what you are trying to do, maybe I can help you.
|
|
| Back to top |
|
 |
JohnDude Newbie cheater
Reputation: 0
Joined: 30 Aug 2013 Posts: 20
|
Posted: Sun Aug 10, 2014 4:54 pm Post subject: |
|
|
Do you want to know title of the game so I can exactly tell you what I want to achieve?
I see your skilled guy so you could do that easily.
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Aug 10, 2014 5:04 pm Post subject: |
|
|
| Maybe it is too difficult for me. If you tell me what it is, maybe I can help you. If it is an online game, I probably can not help you.
|
|
| Back to top |
|
 |
JohnDude Newbie cheater
Reputation: 0
Joined: 30 Aug 2013 Posts: 20
|
Posted: Mon Aug 11, 2014 7:40 am Post subject: |
|
|
I will pm you later.turned out I don't need to call anything. Just execute one opcode manually at specific location.
Do you know how?
mov eax,[esi+686]
it starts being executed when I press space button/
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Aug 11, 2014 8:53 am Post subject: |
|
|
| Still don't know what you're trying to do.
|
|
| Back to top |
|
 |
|