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 


finding the right function out of 32

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Loset
Cheater
Reputation: 0

Joined: 18 Apr 2015
Posts: 34

PostPosted: Fri Mar 11, 2016 12:42 pm    Post subject: finding the right function out of 32 Reply with quote

I am trying to find a function that is related to character selection

because I couldn't find the character value with cheat engine I decided to use Ultimap to find the functions.

I have 32 functions that I know 100% are related to the character select.. I put breakpoint on all the calls to see what are the registers values when the functions is called.

I expected some small numbers you know

like C or F0 .. I mean simple int parameters because I thought the function would look like void charSelect(int charid);

but all I find in the registers that are being pushed is values that look like pointers.

example

Code:

push edx
push ecx
Call xxxxx


and edx is like D2xxxxxx

it looks like its a pointer or offset instead of simple int.

ideas on what my next move should be to find which is the real one?
Back to top
View user's profile Send private message
mgostIH
Expert Cheater
Reputation: 3

Joined: 01 Jan 2016
Posts: 159

PostPosted: Fri Mar 11, 2016 3:59 pm    Post subject: Re: finding the right function out of 32 Reply with quote

Loset wrote:
I am trying to find a function that is related to character selection

because I couldn't find the character value with cheat engine I decided to use Ultimap to find the functions.

I have 32 functions that I know 100% are related to the character select.. I put breakpoint on all the calls to see what are the registers values when the functions is called.

I expected some small numbers you know

like C or F0 .. I mean simple int parameters because I thought the function would look like void charSelect(int charid);

but all I find in the registers that are being pushed is values that look like pointers.

example

Code:

push edx
push ecx
Call xxxxx


and edx is like D2xxxxxx

it looks like its a pointer or offset instead of simple int.

ideas on what my next move should be to find which is the real one?


I think the function you are finding passes an entire structure as an argument, and to do so it needs to pass its pointer.

You could use the dissect data structures for that address, but it might take a while to find the right thing.

_________________
Do you need to ask me something? Feel free to join my discord server at: https://discord.gg/At4VZXA or ask me something in my YouTube channel: https://www.youtube.com/c/mgostIH
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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