From 76d2558ca7708b7ca4d0ed251b80a354dbf82bed Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 05:26:13 +0000 Subject: [PATCH] Decompile 4 functions in Source/UI/AdventureGuide/UIAdventureGuide.cpp, Source/UI/AdventureGuide/UIAdventureGuide.h, ... Batch #4849 by youko: 0 byte-identical, 4 confirmed by peer review. - fn_14313 CRenewQuestMgr::AddStatusRequest: logic confirmed by peer review - fn_14314 AdventureGuide::CUITab::OnSelectSubTab: logic confirmed by peer review - fn_14318 AdventureGuide::CUIItem::OnSelectItem: logic confirmed by peer review - fn_14320 AdventureGuide::CUIQuest::OnSelectQuest: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag, Millenium Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/AdventureGuide/UIAdventureGuide.cpp | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Source/UI/AdventureGuide/UIAdventureGuide.cpp b/Source/UI/AdventureGuide/UIAdventureGuide.cpp index 27ea95ab..8fa420ea 100644 --- a/Source/UI/AdventureGuide/UIAdventureGuide.cpp +++ b/Source/UI/AdventureGuide/UIAdventureGuide.cpp @@ -74,10 +74,20 @@ void CUIAdventureGuide::OnButtonClick() { } // OFFSET: 0x009DBFD0 +// FUNCTION: fn_14313 +void CRenewQuestMgr::AddStatusRequest(unsigned int id) { + this->m_statusRequests.insert(id); +} namespace AdventureGuide { // OFFSET: 0x009DC0B0 +// FUNCTION: fn_14314 +void CUITab::OnSelectSubTab(CUISubTab* subTab) { + if (subTab) { + this->page->Slot54(this->type, subTab->id); + } +} // OFFSET: 0x009DC0E0 // FUNCTION: fn_14315 @@ -85,8 +95,26 @@ void CUIIntro::OnSelectContents(CUITabInfo*, const Guide_Intro::Contents&) { } // OFFSET: 0x009DC210 +// FUNCTION: fn_14318 +void CUIItem::OnSelectItem(CUIItemInfo* item, const CItemData&) { + if (item) { + this->unknown_008C = item->unknown_0108; + } + const bool selected = !this->unknown_008C.empty(); + this->unknown_0084->Show(selected); + this->unknown_0088->Show(selected); +} // OFFSET: 0x009DC2C0 +// FUNCTION: fn_14320 +void CUIQuest::OnSelectQuest(CUIQuestInfo* item, const CQuestInfo&) { + if (item) { + this->unknown_008C = item->unknown_00F8; + } + const bool selected = !this->unknown_008C.empty(); + this->unknown_0084->Show(selected); + this->unknown_0088->Show(selected); +} // OFFSET: 0x009DC8E0 // FUNCTION: fn_14324