Hooks
static bool BeforeCvDllScriptSystemUtility_GetCvDealInstance(CvDllScriptSystemUtility* self, lua_State* L, int index, bool bErrorOnFail, ICvDeal1*& result);static void AfterCvDllScriptSystemUtility_GetCvDealInstance(CvDllScriptSystemUtility* self, lua_State* L, int index, bool bErrorOnFail, ICvDeal1*& result);static ICvDeal1* ReplaceCvDllScriptSystemUtility_GetCvDealInstance(ICvDeal1* (*original)(CvDllScriptSystemUtility*, lua_State*, int, bool), CvDllScriptSystemUtility* self, lua_State* L, int index, bool bErrorOnFail);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllScriptSystemUtility_GetCvDealInstance::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllScriptSystemUtility_GetCvDealInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllScriptSystemUtility_GetCvDealInstance::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllScriptSystemUtility_GetCvDealInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllScriptSystemUtility_GetCvDealInstance::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllScriptSystemUtility_GetCvDealInstance);