From b520323df29491955ca6ef3c92f77fa718c2f1d5 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 18:38:54 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Item/UIParaItemShopWnd.cpp, Source/UI/Item/UIParaItemShopWnd.h, ... Batch #8523 by Lumen: 0 byte-identical, 2 confirmed by peer review. - fn_13739 UIParaItemPurchaseWnd::UIParaItemPurchaseWnd: logic confirmed by peer review - fn_13740 UIParaItemShopWnd::UIParaItemShopWnd: logic confirmed by peer review Peer-reviewed-by: eAthena, gordaoprogramas, KWDev, SapitoSucio Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Item/UIItemBaseWnd.h | 1 + Source/UI/Item/UIItemPurchaseWnd.h | 1 + Source/UI/Item/UIItemShopWnd.h | 1 + Source/UI/Item/UIParaItemShopWnd.cpp | 12 ++++++++++++ Source/UI/Item/UIParaItemShopWnd.h | 3 +++ 5 files changed, 18 insertions(+) diff --git a/Source/UI/Item/UIItemBaseWnd.h b/Source/UI/Item/UIItemBaseWnd.h index 7f219ec11..f6571f2a1 100644 --- a/Source/UI/Item/UIItemBaseWnd.h +++ b/Source/UI/Item/UIItemBaseWnd.h @@ -11,6 +11,7 @@ struct UIButtonContext; class UIItemBaseWnd : public UIFrameWnd { public: + UIItemBaseWnd(); UIItemBaseWnd(UIWindowContext& windowContext, UIFrameContext& frameContext); void Slot10(int x, int y, std::intptr_t value) override; void Slot11() override; diff --git a/Source/UI/Item/UIItemPurchaseWnd.h b/Source/UI/Item/UIItemPurchaseWnd.h index 02d0b440b..f02e01ca0 100644 --- a/Source/UI/Item/UIItemPurchaseWnd.h +++ b/Source/UI/Item/UIItemPurchaseWnd.h @@ -8,6 +8,7 @@ class UIItemPurchaseWnd : public UIItemBaseWnd { public: + UIItemPurchaseWnd(); void Slot10(int x, int y, std::intptr_t value) override; void Slot11() override; void Slot25(int x, int y) override; diff --git a/Source/UI/Item/UIItemShopWnd.h b/Source/UI/Item/UIItemShopWnd.h index d50ac3221..8f9b085a3 100644 --- a/Source/UI/Item/UIItemShopWnd.h +++ b/Source/UI/Item/UIItemShopWnd.h @@ -11,6 +11,7 @@ struct WindowReplayRecorder; class UIItemShopWnd : public UIItemBaseWnd { public: + UIItemShopWnd(); void Slot11() override; void Slot10(int x, int y, std::intptr_t value) override; void Slot25(int x, int y) override; diff --git a/Source/UI/Item/UIParaItemShopWnd.cpp b/Source/UI/Item/UIParaItemShopWnd.cpp index bca4f7c53..0353f4a03 100644 --- a/Source/UI/Item/UIParaItemShopWnd.cpp +++ b/Source/UI/Item/UIParaItemShopWnd.cpp @@ -33,6 +33,18 @@ struct SessionItemLists { void ClearTradeItems(); }; +// OFFSET: 0x009A7D30 +// FUNCTION: fn_13739 +UIParaItemPurchaseWnd::UIParaItemPurchaseWnd() { +} + +// OFFSET: 0x009A7D90 +// FUNCTION: fn_13740 +UIParaItemShopWnd::UIParaItemShopWnd() { +} + +// OFFSET: 0x009A7DF0 + // OFFSET: 0x009A80F0 // FUNCTION: fn_13745 void UIParaResultWnd::AddItem(const RawItemBasic& item, int quantity) { diff --git a/Source/UI/Item/UIParaItemShopWnd.h b/Source/UI/Item/UIParaItemShopWnd.h index 9a3cfabec..3f7b4c4dc 100644 --- a/Source/UI/Item/UIParaItemShopWnd.h +++ b/Source/UI/Item/UIParaItemShopWnd.h @@ -13,18 +13,21 @@ struct WindowResponseRecorder; class UIParaItemPurchaseWnd : public UIItemPurchaseWnd { public: + UIParaItemPurchaseWnd(); void Slot25(int x, int y) override; void Slot10(int x, int y, std::intptr_t value) override; }; class UIParaItemShopWnd : public UIItemShopWnd { public: + UIParaItemShopWnd(); void Slot10(int x, int y, std::intptr_t value) override; void Slot32(int x, int y) override; }; class UIParaResultWnd : public UIItemBaseWnd { public: + UIParaResultWnd(); void Slot10(int x, int y, std::intptr_t value) override; void Slot15(int width, int height) override; void Slot28(int x, int y) override;