Hooks
static bool BeforeCvDllFeatureInfo_DecrementReference(CvDllFeatureInfo* self, unsigned int& result);static void AfterCvDllFeatureInfo_DecrementReference(CvDllFeatureInfo* self, unsigned int& result);static unsigned int ReplaceCvDllFeatureInfo_DecrementReference(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_DecrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllFeatureInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_DecrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllFeatureInfo_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllFeatureInfo_DecrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllFeatureInfo_DecrementReference);