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.
This commit is contained in:
ragnarok-clanker 2026-11-05 12:33:55 +00:00
commit 9dea6d46cc

View file

@ -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<UINaviLinkButton*>().swap(*row);
row = this->naviLinks.erase(row);
std::vector<UIItemTagButton*> buttons;
buttons.swap(*row);
row = this->itemTags.erase(row);
}
this->itemTags.clear();
}
// OFFSET: 0x00879E80