Hooks
static bool BeforeCvDllGame_GetVariableCitySizeFromPopulation(CvDllGame* self, unsigned int nPopulation, unsigned int& result);static void AfterCvDllGame_GetVariableCitySizeFromPopulation(CvDllGame* self, unsigned int nPopulation, unsigned int& result);static unsigned int ReplaceCvDllGame_GetVariableCitySizeFromPopulation(unsigned int (*original)(CvDllGame*, unsigned int), CvDllGame* self, unsigned int nPopulation);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetVariableCitySizeFromPopulation::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_GetVariableCitySizeFromPopulation);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetVariableCitySizeFromPopulation::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_GetVariableCitySizeFromPopulation);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetVariableCitySizeFromPopulation::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_GetVariableCitySizeFromPopulation);