Decompile fn_45516 (CUIRenewQuestUI::OnRecommendedTabClick)

Batch #10833 by Tanke: 0 byte-identical, 1 confirmed by peer review.

- fn_45516 CUIRenewQuestUI::OnRecommendedTabClick: logic confirmed by peer review

Peer-reviewed-by: dori, cremane, StrawberrysherbetIX
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-11-04 17:56:59 +00:00
commit 95b2493382

View file

@ -2169,6 +2169,23 @@ void CUIRenewQuestUI::OnProcessTabClick() {
}
}
// FUNCTION: fn_45516
void CUIRenewQuestUI::OnRecommendedTabClick() {
this->RecordValues(0x16, 2, 0, 0, 0);
for (RenewQuestUI::CUIQuestList* list : this->questLists) {
if (list->type == 2) {
if (list->list) {
if (s_recommendedTabFirstSelect) {
list->list->SelectIndex(0);
s_recommendedTabFirstSelect = false;
return;
}
list->list->scrollBar->SetPosition(0);
}
return;
}
}
}
// FUNCTION: fn_45517
void CUIRenewQuestUI::OnHoldTabClick() {