From e35f2d5fb9e08d38b58cd2e5ad772a0118dfd21b Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sun, 1 Nov 2026 08:10:23 +0000 Subject: [PATCH] Decompile fn_11032 (UIChatHisBox::UIChatHisBox) Batch #9217 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_11032 UIChatHisBox::UIChatHisBox: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, superintelligence, KWDev, Bielhp Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Lists/UIChatHisBox.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Source/UI/Lists/UIChatHisBox.cpp b/Source/UI/Lists/UIChatHisBox.cpp index 08efa526..1ba9ee69 100644 --- a/Source/UI/Lists/UIChatHisBox.cpp +++ b/Source/UI/Lists/UIChatHisBox.cpp @@ -12,6 +12,7 @@ #include "UI/Text/ItemLinkDisplay.h" #include +#include #include // OFFSET: 0x00881BB0 @@ -89,3 +90,17 @@ void UIChatHisBox::sub_89C080() { this->Refresh(); } + +// OFFSET: 0x0086C8D0 +// FUNCTION: fn_11032 +UIChatHisBox::UIChatHisBox(UIWindowContext& windows, UIListBoxContext& list) : UIListBox(windows, list) { + new (&this->ItemTags()) std::list>(); + this->maxLines = 240; + this->lineHeight = 14; + this->lines.reserve(240); + this->unknown_00E4.reserve(240); + this->history.reserve(240); + this->unknown_0100.reserve(240); + this->unknown_010C.reserve(240); + this->unknown_0118.reserve(240); +}