Hooks
static bool BeforeCvDllRandom_DecrementReference(CvDllRandom* self, unsigned int& result);static void AfterCvDllRandom_DecrementReference(CvDllRandom* self, unsigned int& result);static unsigned int ReplaceCvDllRandom_DecrementReference(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_DecrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllRandom_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_DecrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllRandom_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_DecrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllRandom_DecrementReference);