Posted: Fri Jun 07, 2013 7:24 am Post subject: why the pointers in the vtable changed back?
Hi.. DB.
From 'Injecting code and hooking to Direct3D Present()'
Quote:
db said
...hooking the vtable is of course still possible if you hook enough functions and make sure it keeps hooked (in my personal version of dxmess for example I added a rehook call right after the routines that tend to restore it).
please point me how to know that
what is "hook enough functions and make sure it keeps hooked" ?
and when "the routines that tend to restore it"?
and what method you do to 'rehook'.?
Joined: 09 May 2003 Posts: 25824 Location: The netherlands
Posted: Fri Jun 07, 2013 8:06 am Post subject:
I noticed that the vtable entries for some methods change on occasion (mainly get/set renderstate)
But as long as one method is still hooked you can use that to rehook the vtable. (Using the d3ddevice pointer)
Personally though, i prefer editing the assembler code instead of a vtable hook so i don't have to deal with this _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
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