Hooks
static bool BeforeCvDllInterfaceModeInfo_DecrementReference(CvDllInterfaceModeInfo* self, unsigned int& result);static void AfterCvDllInterfaceModeInfo_DecrementReference(CvDllInterfaceModeInfo* self, unsigned int& result);static unsigned int ReplaceCvDllInterfaceModeInfo_DecrementReference(unsigned int (*original)(CvDllInterfaceModeInfo*), CvDllInterfaceModeInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllInterfaceModeInfo_DecrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllInterfaceModeInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllInterfaceModeInfo_DecrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllInterfaceModeInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllInterfaceModeInfo_DecrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllInterfaceModeInfo_DecrementReference);