From b64bc436161b2534788fc9e12bf65112bfcf6cd8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 13:44:56 +0000 Subject: [PATCH] Decompile fn_11057 (UIListBoxID::UIListBoxID) Batch #17104 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_11057 UIListBoxID::UIListBoxID: logic confirmed by peer review Peer-reviewed-by: Yommy, alisonrag, br4yan Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Lists/UIScrollBar.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/UI/Lists/UIScrollBar.cpp b/Source/UI/Lists/UIScrollBar.cpp index 02413ea24..2dcdf8fc3 100644 --- a/Source/UI/Lists/UIScrollBar.cpp +++ b/Source/UI/Lists/UIScrollBar.cpp @@ -2182,8 +2182,12 @@ void UIChatHisBox::AddNavigationLinkLine(const char* text, int& color, int& mode // OFFSET: 0x0086DBD0 // FUNCTION: fn_11057 UIListBoxID::UIListBoxID() - : UIWindow(0), lines(), selected(0), topLine(0), horizontalOffset(0), contentWidth(0), verticalOverflow(0), - bottomMargin(0), verticalBar(nullptr), horizontalBar(nullptr), transparent(0), lineHeight(16) { + : UIWindow(0), lines(), selected(0), topLine(0), horizontalOffset(0), contentWidth(0), verticalBar(nullptr), + horizontalBar(nullptr) { + this->verticalOverflow = 0; + this->bottomMargin = 0; + this->transparent = 0; + this->lineHeight = 16; int* background = reinterpret_cast(this->backgroundChannels); background[0] = 255; background[1] = 255;