Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. template <typename Fn> __forceinline Fn GetVirtualFunction(void* pClassBase, int nFunctionIndex) {
  2. return (Fn)((PDWORD)*(PDWORD*)pClassBase)[nFunctionIndex];
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement