You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -100,8 +92,6 @@ int index = GetVTableIndex((void*) &MyClass::MyMethod);
100
92
Getting the vtable index requires knowledge of the class layout and may not be portable across different compilers or platforms. Use with caution, works only if using C++ or C-like languages.
101
93
::
102
94
103
-
---
104
-
105
95
### 3. Virtual Hook (by function pointer)
106
96
107
97
Instead of using vtable index:
@@ -110,8 +100,6 @@ Instead of using vtable index:
| Get Addresses |`GetFunctionAddr`, `GetOriginalAddr`|
239
217
240
-
---
241
-
242
218
Use this guide as a reference when developing with your PolyHook-based plugin. Always validate pointer arguments and ensure type safety when casting arguments or return values.
0 commit comments