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).
This commit is contained in:
ragnarok-clanker 2026-10-31 18:38:54 +00:00
commit b520323df2
5 changed files with 18 additions and 0 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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) {

View file

@ -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;