From 33e37600bfda30a1a431d984f902da1df57d82e0 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 11:19:04 +0000 Subject: [PATCH] Decompile fn_13759 (UIParaResultWnd::SendMsg) Batch #12125 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_13759 UIParaResultWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: KWDev, Tanke, StrawberrysherbetIX Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Item/UIParaItemShopWnd.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/UI/Item/UIParaItemShopWnd.cpp b/Source/UI/Item/UIParaItemShopWnd.cpp index c678d777..649d53e1 100644 --- a/Source/UI/Item/UIParaItemShopWnd.cpp +++ b/Source/UI/Item/UIParaItemShopWnd.cpp @@ -586,6 +586,9 @@ int UIParaItemShopWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, s // FUNCTION: fn_13759 int UIParaResultWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) { switch (message) { + case 34: + this->total->SetTextAutoWidth("Total : 0 Zeny"); + return 0; case 6: { this->RecordResponse(static_cast(a), b, c, d); CMode* mode = g_modeMgr.gameMode; @@ -597,6 +600,11 @@ int UIParaResultWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std } break; } + case 36: + this->showQuantity = 0; + this->title->SetTextAutoWidth(LookupMessage(2530)); + this->SendMsg(nullptr, 14, 7, this->geometry.width, a, 0); + return 0; case 14: if (a == 7) { int width = b <= 320 ? b : 320; @@ -643,14 +651,6 @@ int UIParaResultWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std this->UpdateScrollBar(); break; } - case 34: - this->total->SetTextAutoWidth("Total : 0 Zeny"); - return 0; - case 36: - this->showQuantity = 0; - this->title->SetTextAutoWidth(LookupMessage(2530)); - this->SendMsg(nullptr, 14, 7, this->geometry.width, a, 0); - return 0; default: return UIItemBaseWnd::SendMsg(sender, message, a, b, c, d); }