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