Hooks
static bool BeforeCvDllPromotionInfo_GetInstance(CvDllPromotionInfo* self, CvPromotionEntry*& result);static void AfterCvDllPromotionInfo_GetInstance(CvDllPromotionInfo* self, CvPromotionEntry*& result);static CvPromotionEntry* ReplaceCvDllPromotionInfo_GetInstance(CvPromotionEntry* (*original)(CvDllPromotionInfo*), CvDllPromotionInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPromotionInfo_GetInstance::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPromotionInfo_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPromotionInfo_GetInstance::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPromotionInfo_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPromotionInfo_GetInstance::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPromotionInfo_GetInstance);