From 9dea6d46ccb53cfb81dc568e373cd7059ab9050d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 12:33:55 +0000 Subject: [PATCH] Decompile fn_11255 (UIChatHisBox::ClearNaviLinks) Batch #12217 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_11255 UIChatHisBox::ClearNaviLinks: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Lists/UIScrollBar.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Source/UI/Lists/UIScrollBar.cpp b/Source/UI/Lists/UIScrollBar.cpp index 862a87809..4df9754e2 100644 --- a/Source/UI/Lists/UIScrollBar.cpp +++ b/Source/UI/Lists/UIScrollBar.cpp @@ -1169,13 +1169,15 @@ void UIChatHisBox::ShiftNaviLinks() { // OFFSET: 0x0087CA70 // FUNCTION: fn_11255 __declspec(noinline) void UIChatHisBox::ClearNaviLinks() { - for (auto row = this->naviLinks.begin(); row != this->naviLinks.end();) { - for (UINaviLinkButton* button : *row) { - this->RemoveChild(button, 1); + for (auto row = this->itemTags.begin(); row != this->itemTags.end();) { + for (unsigned int index = 0; index < row->size(); ++index) { + this->RemoveChild((*row)[index], 1); } - std::vector().swap(*row); - row = this->naviLinks.erase(row); + std::vector buttons; + buttons.swap(*row); + row = this->itemTags.erase(row); } + this->itemTags.clear(); } // OFFSET: 0x00879E80