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