3rd Party LibrariesRecent AdditionsHandles Parser
Discord
  • admin
  • adminmenu
  • adt_array
  • adt_stack
  • adt_trie
  • banning
  • basecomm
  • bitbuffer
  • clientprefs
  • clients
  • commandfilters
  • commandline
  • console
  • convars
  • core
  • cstrike
  • datapack
  • dbi
  • dhooks
  • entity
  • entity_prop_stocks
  • entitylump
  • events
  • files
  • float
  • functions
  • geoip
  • halflife
  • handles
  • helpers
  • keyvalues
  • lang
  • logging
  • mapchooser
  • menus
  • nextmap
  • profiler
  • protobuf
  • regex
  • sdkhooks
  • sdktools
  • sdktools_client
  • sdktools_engine
  • sdktools_entinput
  • sdktools_entoutput
  • sdktools_functions
  • sdktools_gamerules
  • sdktools_hooks
  • sdktools_sound
  • sdktools_stocks
  • sdktools_stringtables
  • sdktools_tempents
  • sdktools_tempents_stocks
  • sdktools_trace
  • sdktools_variant_t
  • sdktools_voice
  • sorting
  • sourcemod
  • string
  • testing
  • textparse
  • tf2
  • tf2_stocks
  • timers
  • topmenus
  • usermessages
  • vector
  • dhooks
  • DynamicHook
  • DynamicHook
File

DynamicHook

Last Updated2021-11-17
Created At2021-11-17

Creates a vtable hook.

native DynamicHook DynamicHook(int offset, HookType hooktype, ReturnType returntype, ThisPointerType thistype)

Parameters

int offset
Virtual table offset of function to hook.
HookType hooktype
Type of hook.
ReturnType returntype
Type of return value.
ThisPointerType thistype
Type of this pointer or ignore (ignore can be used if not needed).

Return Value

DynamicHook

Error

Failed to create hook setup handle or invalid callback function.
Made with
1.4.0 b35d7e5 2026-09-25T02:06:02.447Z
by rumblefrog