Decompile fn_10886 (UIMerchantShopTitle::Slot32)

Batch #5284 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_10886 UIMerchantShopTitle::Slot32: logic confirmed by peer review

Peer-reviewed-by: eAthena, meitogi
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-30 10:08:17 +00:00
commit afbaeb4fb7
2 changed files with 11 additions and 0 deletions

View file

@ -60,3 +60,13 @@ void UIMerchantShopTitle::ResetCursor(int x, int y) {
this->m_context->cursor.Set(0, this->m_context->cursorTick);
}
}
// OFFSET: 0x0085FE20
// FUNCTION: fn_10886
void UIMerchantShopTitle::Slot32(int, int) {
if (g_serviceOptions.Get(167)) {
g_modeMgr.gameMode->SendMsg(245, 0, 0, 0, 0);
g_session.unknown_1760.clear();
g_session.unknown_1748.clear();
}
}

View file

@ -11,6 +11,7 @@ public:
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
void ResetCursor(int x, int y) override;
void Slot32(int x, int y) override;
/* 007C */ int unknown_007C;
/* 0080 */ std::uint32_t ownerAid;