32 #ifndef _INCLUDE_VTABLE_HOOK_HELPER_H_
33 #define _INCLUDE_VTABLE_HOOK_HELPER_H_
40 this->vtableptr = *
reinterpret_cast<void ***
>(takenclass);
46 this->vtableptr = vtable;
52 this->vtableptr = other.vtableptr;
53 this->hookid = other.hookid;
60 this->vtableptr = other->vtableptr;
61 this->hookid = other->hookid;
70 SH_REMOVE_HOOK_ID(this->hookid);
75 void *GetVTablePtr(
void)
77 return this->vtableptr;
80 void SetHookID(
int hook)
87 return (this->hookid != 0);
92 return (this->GetVTablePtr() == other.GetVTablePtr());
97 return (this->GetVTablePtr() == other->GetVTablePtr());
102 return (this->GetVTablePtr() != other.GetVTablePtr());
107 return (this->GetVTablePtr() != other->GetVTablePtr());
114 #endif //_INCLUDE_VTABLE_HOOK_HELPER_H_
Definition: vtable_hook_helper.h:35