Hooks
static bool BeforeCvDllGame_GetGreatWorkAudio(CvDllGame* self, int GreatWorkIndex, char* strSound, int length, bool& result);static void AfterCvDllGame_GetGreatWorkAudio(CvDllGame* self, int GreatWorkIndex, char* strSound, int length, bool& result);static bool ReplaceCvDllGame_GetGreatWorkAudio(bool (*original)(CvDllGame*, int, char*, int), CvDllGame* self, int GreatWorkIndex, char* strSound, int length);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetGreatWorkAudio::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_GetGreatWorkAudio);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetGreatWorkAudio::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_GetGreatWorkAudio);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetGreatWorkAudio::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_GetGreatWorkAudio);