From dc8f4405f989c29466b1ea0ff9c48ee5fd433da9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 16:39:59 +0000 Subject: [PATCH] Decompile fn_11553 (UIListBoxEx::SendMsg) Batch #10613 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_11553 UIListBoxEx::SendMsg: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, cremane, StrawberrysherbetIX Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Lists/UIListBoxEx.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/UI/Lists/UIListBoxEx.cpp b/Source/UI/Lists/UIListBoxEx.cpp index 097b0fbe..e8e8d25b 100644 --- a/Source/UI/Lists/UIListBoxEx.cpp +++ b/Source/UI/Lists/UIListBoxEx.cpp @@ -209,13 +209,9 @@ int UIListBoxEx::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::in this->parent->Invalidate(); } - UIWindow* root = this; - - while (root->parent) { - root = root->parent; + if (this->Root()) { + this->Root()->Invalidate(); } - - root->Invalidate(); return (this->topLine - previous); } case 8: