From afbaeb4fb72bfb566086d2f84aebc14f5d6383e9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 10:08:17 +0000 Subject: [PATCH] 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). --- Source/UI/Shop/UIMerchantShopTitle.cpp | 10 ++++++++++ Source/UI/Shop/UIMerchantShopTitle.h | 1 + 2 files changed, 11 insertions(+) diff --git a/Source/UI/Shop/UIMerchantShopTitle.cpp b/Source/UI/Shop/UIMerchantShopTitle.cpp index 557223e9..f6213c21 100644 --- a/Source/UI/Shop/UIMerchantShopTitle.cpp +++ b/Source/UI/Shop/UIMerchantShopTitle.cpp @@ -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(); + } +} diff --git a/Source/UI/Shop/UIMerchantShopTitle.h b/Source/UI/Shop/UIMerchantShopTitle.h index 90cd30f7..c4c6741f 100644 --- a/Source/UI/Shop/UIMerchantShopTitle.h +++ b/Source/UI/Shop/UIMerchantShopTitle.h @@ -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;