diff -r 030b917a8dcc -r 3813f1ac0cfe sourcehook/sourcehook_impl.h --- a/sourcehook/sourcehook_impl.h Sat May 12 19:05:16 2007 +0000 +++ b/sourcehook/sourcehook_impl.h Sat May 12 19:48:31 2007 +0000 @@ -803,6 +803,14 @@ * @param vfnptr The virtual function pointer of the function in question */ virtual void ResetIgnoreHooks(Plugin plug, void *vfnptr); + + /** + * @brief Finds the original entry of a virtual function pointer + * + * @param vfnptr The virtual function pointer + * @return The original entry if the virtual function pointer has been patched; NULL otherwise. + */ + virtual void *GetOrigVfnPtrEntry(void *vfnptr); }; }