From f20b0b1a508abfefe0280d5e4f2e59d3fbe19875 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 2 Nov 2026 00:24:46 +0000 Subject: [PATCH] Decompile fn_11976 (UISpellListWnd::UISpellListWnd) Batch #9809 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_11976 UISpellListWnd::UISpellListWnd: logic confirmed by peer review Peer-reviewed-by: KWDev, dori, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Acceptance/UIChooseSellBuyWnd.cpp | 6 ++++++ Source/UI/Items/UISpellListWnd.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp index fb8d1a8e..72d1e267 100644 --- a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp +++ b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp @@ -6843,6 +6843,12 @@ UIItemCompositionWnd::UIItemCompositionWnd(UIWindowContext& windows, UIFrameCont : UIItemIdentifyWnd(windows, frames), m_compositionPlacement(nullptr) { } +// OFFSET: 0x008C90E0 +// FUNCTION: fn_11976 +UISpellListWnd::UISpellListWnd(UIWindowContext& windows, UIFrameContext& frames) : UIItemIdentifyWnd(windows, frames) { + this->unknown_00FC = 0; +} + // OFFSET: 0x008C8330 // FUNCTION: fn_11952 UIMakingArrowListWnd::UIMakingArrowListWnd(UIWindowContext& windows, UIFrameContext& frames) diff --git a/Source/UI/Items/UISpellListWnd.h b/Source/UI/Items/UISpellListWnd.h index f4e42e0f..b1662f26 100644 --- a/Source/UI/Items/UISpellListWnd.h +++ b/Source/UI/Items/UISpellListWnd.h @@ -10,8 +10,10 @@ struct UIButtonContext; class UISpellListWnd : public UIItemIdentifyWnd { public: + UISpellListWnd(UIWindowContext& windows, UIFrameContext& frames); ~UISpellListWnd() override; /* 00F0 */ std::vector m_skills; + /* 00FC */ std::int16_t unknown_00FC; void Paint() override;