Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <typename Fn> __forceinline Fn GetVirtualFunction(void* pClassBase, int nFunctionIndex) {
- return (Fn)((PDWORD)*(PDWORD*)pClassBase)[nFunctionIndex];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement