Decompile fn_04187 (UILapineUpgradeBoxWnd::UILapineUpgradeBoxWnd)

Batch #7895 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_04187 UILapineUpgradeBoxWnd::UILapineUpgradeBoxWnd: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Yommy, secret, Romain, pedrao
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 13:02:19 +00:00
commit cd9ee74efb
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,13 @@ namespace {
static_assert(sizeof(LapineUpgradeClosePacket) == 2);
}
// OFFSET: 0x00602D30
// FUNCTION: fn_04187
UILapineUpgradeBoxWnd::UILapineUpgradeBoxWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls)
: UIFrameWnd(windows, frames, 0), closeButton(nullptr), upgradeButton(nullptr), selectButton(nullptr), ingredientList(nullptr), ingredientId(0),
noticeTick(0), noticeDuration(3000), waiting(0), m_controls(&controls) {
}
// INLINED
UILapineUpgradeBoxWnd::~UILapineUpgradeBoxWnd() {
this->item = ITEM_INFO();

View file

@ -41,6 +41,7 @@ class UILapineUpgradeBoxWnd : public UIFrameWnd {
friend class UILapineUpgradeBox_IngredientListWnd;
public:
UILapineUpgradeBoxWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
~UILapineUpgradeBoxWnd() override;
void Slot10(int x, int y, std::intptr_t value) override;
void Slot15(int width, int height) override;