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