Hooks
static bool BeforeCvDllRandom_GetReferenceCount(CvDllRandom* self, unsigned int& result);static void AfterCvDllRandom_GetReferenceCount(CvDllRandom* self, unsigned int& result);static unsigned int ReplaceCvDllRandom_GetReferenceCount(unsigned int (*original)(CvDllRandom*), CvDllRandom* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetReferenceCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllRandom_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetReferenceCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllRandom_GetReferenceCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetReferenceCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllRandom_GetReferenceCount);