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