message: Lua: update hooks
diff: @@ -140,18 +140,18 @@ namespace Lua {
  lua_getglobal(m_luaInstance, runScriptTable.c_str());
  m_runScriptTable = luaL_ref(m_luaInstance, LUA_REGISTRYINDEX);
  - s_RunScriptHook = GetServices()->m_hooks->RequestExclusiveHook<Functions::_ZN15CVirtualMachine9RunScriptEP10CExoStringji, int32_t>(
  - +[](CVirtualMachine* thisPtr, CExoString* script, ObjectID objId, int32_t valid)
  + s_RunScriptHook = GetServices()->m_hooks->Hook(Functions::_ZN15CVirtualMachine9RunScriptEP10CExoStringji,
  + (void*)+[](CVirtualMachine* thisPtr, CExoString* script, ObjectID objId, int32_t valid)
  {
  bool skip = script->m_sString && g_plugin->OnScript(script->m_sString, objId, !!valid);
  return skip ? 1 : s_RunScriptHook->CallOriginal<int32_t>(thisPtr, script, objId, valid);
  - }
  - );
  + },
  + Hooking::Order::Latest);
  }
  // RunScriptSituation hook
  - s_RunScriptSituationHook = GetServices()->m_hooks->RequestExclusiveHook<Functions::_ZN15CVirtualMachine18RunScriptSituationEPvji, int32_t>(
  - +[](CVirtualMachine* thisPtr, CVirtualMachineScript* script, ObjectID oid, int32_t oidValid)
  + s_RunScriptSituationHook = GetServices()->m_hooks->Hook(Functions::_ZN15CVirtualMachine18RunScriptSituationEPvji,
  + (void*)+[](CVirtualMachine* thisPtr, CVirtualMachineScript* script, ObjectID oid, int32_t oidValid)
  {
  if (strstr(script->m_sScriptName.m_sString, "NWNX_LUA_INTERNAL"))
  {
  @@ -165,8 +165,8 @@ namespace Lua {
  }
  return s_RunScriptSituationHook->CallOriginal<int32_t>(thisPtr, script, oid, oidValid);
  - }
  - );
  + },
  + Hooking::Order::Latest);
  }
  Lua::~Lua()
  