Decompile fn_11582 (UITabControl::SetFlag)

Batch #5167 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_11582 UITabControl::SetFlag: logic confirmed by peer review

Peer-reviewed-by: eAthena, alisonrag
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-30 09:33:56 +00:00
commit d74b236b8e

View file

@ -426,6 +426,12 @@ void UITabControl::ClearTabs() {
}
// OFFSET: 0x0089C1B0
// FUNCTION: fn_11582
void UITabControl::SetFlag(int index, bool value) {
if (index >= 0 && index < static_cast<int>(this->labels.size())) {
this->flags[index] = value;
}
}
// OFFSET: 0x00880B20
// FUNCTION: fn_11283