Hooks
static bool BeforeCvDllGameContext_GetInfoTypeForHash(const CvDllGameContext* self, uint uiHash, bool hideAssert, int& result);static void AfterCvDllGameContext_GetInfoTypeForHash(const CvDllGameContext* self, uint uiHash, bool hideAssert, int& result);static int ReplaceCvDllGameContext_GetInfoTypeForHash(int (*original)(const CvDllGameContext*, uint, bool), const CvDllGameContext* self, uint uiHash, bool hideAssert);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetInfoTypeForHash::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetInfoTypeForHash);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetInfoTypeForHash::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetInfoTypeForHash);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetInfoTypeForHash::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetInfoTypeForHash);