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