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