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