From 0d3f8645a23b2e4e15f32d652a577951cd64dad4 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 15:02:01 +0000 Subject: [PATCH] Decompile fn_13571 (UIMerchantItemLogWnd::UIMerchantItemLogWnd) Batch #8190 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13571 UIMerchantItemLogWnd::UIMerchantItemLogWnd: logic confirmed by peer review Peer-reviewed-by: Yommy, alisonrag, gordaoprogramas Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Item/UIMerchantItemLogWnd.cpp | 6 ++++++ Source/UI/Item/UIMerchantItemLogWnd.h | 1 + 2 files changed, 7 insertions(+) diff --git a/Source/UI/Item/UIMerchantItemLogWnd.cpp b/Source/UI/Item/UIMerchantItemLogWnd.cpp index b60786ea..38ddacb9 100644 --- a/Source/UI/Item/UIMerchantItemLogWnd.cpp +++ b/Source/UI/Item/UIMerchantItemLogWnd.cpp @@ -17,6 +17,12 @@ #include "UI/Window/WindowManagerWindows.h" #include "Utility/Text/FormatString.h" +// OFFSET: 0x0099E0E0 +// FUNCTION: fn_13571 +UIMerchantItemLogWnd::UIMerchantItemLogWnd(UIWindowContext& windows, UIFrameContext& frames, int mode) : UIItemBaseWnd(windows, frames) { + this->unknown_00FC = mode; +} + // OFFSET: 0x0099E510 // FUNCTION: fn_13575 void UIMerchantItemLogWnd::Slot15(int width, int height) { diff --git a/Source/UI/Item/UIMerchantItemLogWnd.h b/Source/UI/Item/UIMerchantItemLogWnd.h index 0c429f01..3d08df35 100644 --- a/Source/UI/Item/UIMerchantItemLogWnd.h +++ b/Source/UI/Item/UIMerchantItemLogWnd.h @@ -23,6 +23,7 @@ public: /* 0038 */ std::uint32_t characterId; }; + UIMerchantItemLogWnd(UIWindowContext& windows, UIFrameContext& frames, int mode); void Slot15(int width, int height) override; void Slot19() override; void Slot28(int x, int y) override;