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