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