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