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