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