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).
This commit is contained in:
ragnarok-clanker 2026-11-11 13:44:56 +00:00
commit b64bc43616

View file

@ -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<int*>(this->backgroundChannels);
background[0] = 255;
background[1] = 255;