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