Decompile fn_14993 (EnchantUI::CUIUpgradeRandom::Slot16)

Batch #6339 by superintelligence: 0 byte-identical, 1 confirmed by peer review.

- fn_14993 EnchantUI::CUIUpgradeRandom::Slot16: logic confirmed by peer review

Peer-reviewed-by: eAthena, alisonrag
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 00:41:03 +00:00
commit 67898cf2e2
2 changed files with 10 additions and 0 deletions

View file

@ -81,6 +81,7 @@ public:
/* 00A8 */ uint64_t group;
/* 00B0 */ int unknown_00B0;
void Slot16() override;
virtual void Slot54(int argument1, int argument2);
virtual void Slot55() = 0;
virtual void Slot56() = 0;
@ -116,6 +117,7 @@ public:
class CUIUpgradeRandom : public CUIUpgradeEnchantPage {
public:
void Slot16() override;
void Slot55() override;
};

View file

@ -379,3 +379,11 @@ void CUIEnchantUI::Slot53() {
this->Slot15(this->geometry.width, this->geometry.height);
this->Slot16();
}
// OFFSET: 0x00A06170
// FUNCTION: fn_14993
void EnchantUI::CUIUpgradeRandom::Slot16() {
EnchantUI::CUIEnchantPage::Slot16();
this->enchantList->unknown_00C4 = 1;
this->enchantList->Invalidate();
}