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:
parent
db7c3a2d95
commit
9dea6d46cc
1 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue