Posted: Fri Mar 11, 2016 12:42 pm Post subject: finding the right function out of 32
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?
Posted: Fri Mar 11, 2016 3:59 pm Post subject: Re: finding the right function out of 32
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. _________________
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