Hooks
static bool BeforeCvDllColorInfo_DecrementReference(CvDllColorInfo* self, unsigned int& result);static void AfterCvDllColorInfo_DecrementReference(CvDllColorInfo* self, unsigned int& result);static unsigned int ReplaceCvDllColorInfo_DecrementReference(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_DecrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllColorInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllColorInfo_DecrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllColorInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllColorInfo_DecrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllColorInfo_DecrementReference);