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