Decompile fn_16117 (CUIListBoxEx<ProbabilityTable::CUIItem,ProbabilityTable::CItemData>::Slot15)

Batch #5679 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_16117 CUIListBoxEx<ProbabilityTable::CUIItem,ProbabilityTable::CItemData>::Slot15: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Romain, Snow
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 14:31:14 +00:00
commit 3d3d975247

View file

@ -100,6 +100,14 @@ void CUIProbabilityTable::Slot53() {
}
// OFFSET: 0x00A48860
// FUNCTION: fn_16117
template <>
void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::Slot15(int width, int height) {
this->scrollBar = new CUIVScrollBar(*this->m_context);
this->scrollBar->Show(0);
this->scrollBar->onChange = [this](int position) { this->OnScroll(position); };
this->AddChild(this->scrollBar);
}
namespace ProbabilityTable {