Hooks
static bool BeforeCvDllPreGame_GetGameOption_with_uint_char_uint_int(CvDllPreGame* self, uint uiIndex, char* szOptionNameBuffer, uint nOptionNameBufferSize, int& iValue, bool& result);static void AfterCvDllPreGame_GetGameOption_with_uint_char_uint_int(CvDllPreGame* self, uint uiIndex, char* szOptionNameBuffer, uint nOptionNameBufferSize, int& iValue, bool& result);static bool ReplaceCvDllPreGame_GetGameOption_with_uint_char_uint_int(bool (*original)(CvDllPreGame*, uint, char*, uint, int&), CvDllPreGame* self, uint uiIndex, char* szOptionNameBuffer, uint nOptionNameBufferSize, int& iValue);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetGameOption_with_uint_char_uint_int::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_GetGameOption_with_uint_char_uint_int);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetGameOption_with_uint_char_uint_int::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_GetGameOption_with_uint_char_uint_int);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetGameOption_with_uint_char_uint_int::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_GetGameOption_with_uint_char_uint_int);