Hooks
static bool BeforeCvDllInterfaceModeInfo_GetReferenceCount(CvDllInterfaceModeInfo* self, unsigned int& result);static void AfterCvDllInterfaceModeInfo_GetReferenceCount(CvDllInterfaceModeInfo* self, unsigned int& result);static unsigned int ReplaceCvDllInterfaceModeInfo_GetReferenceCount(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_GetReferenceCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllInterfaceModeInfo_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllInterfaceModeInfo_GetReferenceCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllInterfaceModeInfo_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllInterfaceModeInfo_GetReferenceCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllInterfaceModeInfo_GetReferenceCount);