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).
This commit is contained in:
ragnarok-clanker 2026-11-01 08:10:23 +00:00
commit e35f2d5fb9

View file

@ -12,6 +12,7 @@
#include "UI/Text/ItemLinkDisplay.h"
#include <cstring>
#include <new>
#include <string>
// 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<std::vector<UIItemTagButton*>>();
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);
}