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