Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[QUESTION] call 'function' manually

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
JohnDude
Newbie cheater
Reputation: 0

Joined: 30 Aug 2013
Posts: 20

PostPosted: Sun Aug 10, 2014 10:58 am    Post subject: [QUESTION] call 'function' manually Reply with quote

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
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Aug 10, 2014 12:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
JohnDude
Newbie cheater
Reputation: 0

Joined: 30 Aug 2013
Posts: 20

PostPosted: Sun Aug 10, 2014 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Aug 10, 2014 4:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
JohnDude
Newbie cheater
Reputation: 0

Joined: 30 Aug 2013
Posts: 20

PostPosted: Sun Aug 10, 2014 4:54 pm    Post subject: Reply with quote

Do you want to know title of the game so I can exactly tell you what I want to achieve? Cool

I see your skilled guy so you could do that easily.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Aug 10, 2014 5:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
JohnDude
Newbie cheater
Reputation: 0

Joined: 30 Aug 2013
Posts: 20

PostPosted: Mon Aug 11, 2014 7:40 am    Post subject: Reply with quote

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
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Aug 11, 2014 8:53 am    Post subject: Reply with quote

Still don't know what you're trying to do.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites