Page 1 of 1

Help on how to find a game's game loop function

PostPosted: Sun Jul 20, 2008 9:00 am
by slointe
I am looking for some advice on how to find a 3D FPS game engine's renderscene or game loop?

CoD4 has for example a R_renderscene() that you can hook to display engine text and graphics without messing with D3D hooking.

This really can apply to any 3D game so I am wondering what's a good way to use MHS to locate this function. Tips? Tricks?

PostPosted: Sun Jul 20, 2008 9:19 am
by L. Spiro
Step out of functions until you can not step out anymore.


L. Spiro

PostPosted: Mon Jul 21, 2008 6:13 am
by slointe
Can you elaborate a bit on what function I am stepping out of? And how to do this on MHS?

PostPosted: Mon Jul 21, 2008 9:35 am
by L. Spiro
Any function hit while the game is running.

After a breakpoint is hit, hold F8 to step over functions and out of the current function until there are no more functions going back and you find yourself in a loop.


L. Spiro