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