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 


why the pointers in the vtable changed back?

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

Joined: 21 Dec 2010
Posts: 37

PostPosted: Fri Jun 07, 2013 7:24 am    Post subject: why the pointers in the vtable changed back? Reply with quote

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'.?

thank you.

_________________
my name is peter4d5
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25824
Location: The netherlands

PostPosted: Fri Jun 07, 2013 8:06 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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