From efbe7c339f4bf46242a5407db0e707d6f85c4db8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 17:58:03 +0000 Subject: [PATCH] Decompile 10 functions in Source/Contents/AdventureGuideMgr.cpp Batch #13463 by KWDev: 10 byte-identical, 0 confirmed by peer review. - fn_05267 InsertArmorContents: byte-identical - fn_05268 InsertArmorObtainGuide: byte-identical - fn_05269 InsertArmorSubMenu: byte-identical - fn_05271 InsertDungeonContents: byte-identical - fn_05272 InsertDungeonReward: byte-identical - fn_05273 InsertDungeonSubMenu: byte-identical - fn_05275 InsertEpisodeContents: byte-identical - fn_05276 InsertEpisodeReward: byte-identical - fn_05277 InsertEpisodeSubMenu: byte-identical - fn_05284 InsertQuestContents: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/AdventureGuideMgr.cpp | 60 +++++++++++++-------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/Source/Contents/AdventureGuideMgr.cpp b/Source/Contents/AdventureGuideMgr.cpp index 22c613648..6ff331a59 100644 --- a/Source/Contents/AdventureGuideMgr.cpp +++ b/Source/Contents/AdventureGuideMgr.cpp @@ -176,11 +176,11 @@ int InsertEpisodeSubMenu(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertEpisodeSubMenu : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -248,11 +248,11 @@ int InsertEpisodeContents(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertEpisodeContents : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -278,11 +278,11 @@ int InsertEpisodeReward(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertEpisodeReward : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -528,11 +528,11 @@ int InsertQuestContents(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertQuestContents : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -639,11 +639,11 @@ int InsertDungeonSubMenu(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertDungeonSubMenu : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -704,11 +704,11 @@ int InsertDungeonContents(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertDungeonContents : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -734,11 +734,11 @@ int InsertDungeonReward(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertDungeonReward : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -998,11 +998,11 @@ int InsertArmorSubMenu(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertArmorSubMenu : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -1070,11 +1070,11 @@ int InsertArmorContents(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertArmorContents : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; } @@ -1100,11 +1100,11 @@ int InsertArmorObtainGuide(lua_State* state) { if (!result.ok) { lua_pushboolean(state, 0); lua_pushstring(state, FormatString("InsertArmorObtainGuide : %s", result.message.c_str())); - } else { - lua_pushboolean(state, 1); - lua_pushstring(state, "good"); + return 2; } + lua_pushboolean(state, 1); + lua_pushstring(state, "good"); return 2; }