Decompile fn_11221 (UIChatHisBox::ResetContents)

Batch #7972 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_11221 UIChatHisBox::ResetContents: logic confirmed by peer review

Peer-reviewed-by: Yommy, secret, pedrao
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-10-31 13:15:22 +00:00
commit bcc690073f
2 changed files with 12 additions and 0 deletions

View file

@ -31,6 +31,7 @@ public:
void ShiftNaviLinks();
void ClearNaviLinks();
void DropOldestRecords();
void ResetContents();
void ShiftItemTags();
void PlaceItemTags(int line);
void CopyHistory(const UIChatHisBox& other);

View file

@ -984,6 +984,17 @@ void UIChatHisBox::ClearNaviLinks() {
}
}
// OFFSET: 0x00879E80
// FUNCTION: fn_11221
void UIChatHisBox::ResetContents() {
this->unknown_0100.clear();
this->unknown_010C.clear();
this->unknown_0118.clear();
this->Clear();
this->ClearNaviLinks();
this->ShiftNaviLinks();
}
// OFFSET: 0x0087CC30
// FUNCTION: fn_11256
void UIChatHisBox::DropOldestRecords() {