Hooks
static bool BeforeCvDllMap_DecrementReference(CvDllMap* self, unsigned int& result);static void AfterCvDllMap_DecrementReference(CvDllMap* self, unsigned int& result);static unsigned int ReplaceCvDllMap_DecrementReference(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_DecrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllMap_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_DecrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllMap_DecrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_DecrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllMap_DecrementReference);