DHookCreateFromConf
Setup a detour or hook for a function as described in a "Functions" section in gamedata.
Parameters
const char[] name
Name of the function in the gamedata to load.
Return Value
DHookSetup Setup handle for the detour or INVALID_HANDLE if offset/signature/address wasn't found.Error
Failed to create detour setup handle, invalid gamedata handle, invalid callback function or
failed to find function in gamedata.