From 28d7da2fac540bd97a649f430f9826ff45db17a4 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 16:53:20 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/UIMacroUserInfoWnd.cpp Batch #10703 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_09852 UIMacroReporterWnd::Slot19: byte-identical - fn_09853 UIMacroReporterWnd::Slot35: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/UIMacroUserInfoWnd.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Source/UI/UIMacroUserInfoWnd.cpp b/Source/UI/UIMacroUserInfoWnd.cpp index 7210fbf5..8f9f5f44 100644 --- a/Source/UI/UIMacroUserInfoWnd.cpp +++ b/Source/UI/UIMacroUserInfoWnd.cpp @@ -269,11 +269,11 @@ void UIMacroReporterWnd::Slot31(int, int) { // FUNCTION: fn_09852 void UIMacroReporterWnd::Slot19() { for (auto it = this->m_removedRows.begin(); it != this->m_removedRows.end();) { - if ((*it)->Disabled()) { + if (!(*it)->Disabled()) { + ++it; + } else { this->RemoveChild(*it, 1); it = this->m_removedRows.erase(it); - } else { - ++it; } } @@ -284,7 +284,11 @@ void UIMacroReporterWnd::Slot19() { // FUNCTION: fn_09853 void UIMacroReporterWnd::Slot35(int delta) { if (this->m_scrollable == 1) { - this->SendMsg(this->m_scrollBar, 7, delta < 0 ? 3 : -3, 0, 0, 0); + if (delta < 0) { + this->SendMsg(this->m_scrollBar, 7, 3, 0, 0, 0); + } else { + this->SendMsg(this->m_scrollBar, 7, -3, 0, 0, 0); + } } }