I think _fobos_ knows, if he wants to share
i've seen him hook functions using c/c++ of other programs.
He gives an example he made for minesweeper.
In his example he hooks the pause and resume function on the timer for minesweeper, allowing you to pause time while playing, and thus achieving really good game times
And I know he knows the address of the
jump function in Conquer.exe i've seen him talk about it in one of his posts:
I know he knows, but i do not know if he would like to share it
I know i would really love to know what he knows too
so heres a couple of hints...
hooks,
co jump function (will need memory address for, maybe from ollydbg)
Good Luck!!
Update: Ok i saw this in a tutorial link giving in "Simulating clicks?"
When you jump in a location you can not jump, you get an error message "You can't stop here!"
Now look that up in StrRes.ini, you find the following:
100023=You can't stop here!
OK. 100023 is 186B7 in hexidecimal. So load up Conquer.exe in OllyDBG and
search for "push 186B7"
it should be found at 004C6500
that 004C6500 is the location the function that produces the error message is called, and this function happens to be called inside the jump function. So that location is inside the jump() function.
now, each function returns with a "RETF", so the return of the previous function b4 the jump function will have the command "RETF 8" in our case, then the address below it is the start of our jump() function.
So the jump() function in Conquer.exe is located at 004C6303
Now that is only a part of it, i haven't figured out how it is called yet. Need to find a function that calls this jump() function to get how to use it.
Sorry if its off-topic, but i hope it helps ya.
Update 2: lol, im so dumb... just search now "CALL 004C6303", that will get the code that calls the jump() function and show us how to use it.
00486585 > FF75 EC PUSH DWORD PTR SS:[EBP-14] ; /Arg2
00486588 . 8BCE MOV ECX,ESI ; |
0048658A . FF75 E8 PUSH DWORD PTR SS:[EBP-18] ; |Arg1
0048658D . E8 71FD0300 CALL Conquer.004C6303 ; \Conquer.004C6303
Good takes two arguments, unfortunately im just a noob and still don't understand what it means fully. But it looks like it just puts the x and y coordinates on the stack b4 calling the jump function. not sure yet
Edit: This one sorry, same function call but from different location, i attached a break point on this one, and this one called conquer to stop when i click w/ the mouse.
00486919 . FF75 EC PUSH DWORD PTR SS:[EBP-14] ; /Arg2
0048691C . 8BCE MOV ECX,ESI ; |
0048691E . FF75 E8 PUSH DWORD PTR SS:[EBP-18] ; |Arg1
00486921 . E8 DDF90300 CALL Conquer.004C6303 ; \Conquer.004C6303