Hooks
static bool BeforeCvDllRandom_GetInstance(CvDllRandom* self, CvRandom*& result);static void AfterCvDllRandom_GetInstance(CvDllRandom* self, CvRandom*& result);static CvRandom* ReplaceCvDllRandom_GetInstance(CvRandom* (*original)(CvDllRandom*), CvDllRandom* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetInstance::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllRandom_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetInstance::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllRandom_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetInstance::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllRandom_GetInstance);