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