From fdf4da9e7edaf21a92a7579204fabb062afc10e4 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 22:36:08 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Buttons/UIButton.cpp Batch #17423 by eAthena: 2 byte-identical, 0 confirmed by peer review. - fn_10868 UIButton::OnMouseMove: byte-identical - fn_10870 UISpriteButton2::OnMouseMove: byte-identical (already on main) Merged automatically: every function is byte-identical to the original. --- Source/UI/Buttons/UIButton.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/UI/Buttons/UIButton.cpp b/Source/UI/Buttons/UIButton.cpp index 9a44375bd..8da6d2f10 100644 --- a/Source/UI/Buttons/UIButton.cpp +++ b/Source/UI/Buttons/UIButton.cpp @@ -121,12 +121,11 @@ void UIButton::OnMouseMove(int x, int y) { this->Invalidate(); } - UIWindow* parent = this->parent; - if (parent == g_windowMgr.basicInfoWnd) { + if (this->parent == g_windowMgr.basicInfoWnd) { if (this->geometry.state == 0) { - parent->SendMsg(this, UM_COMMAND, ID_APPLY, 0, 0, 0); + this->parent->SendMsg(this, UM_COMMAND, ID_APPLY, 0, 0, 0); } else { - parent->SendMsg(this, UM_COMMAND, ID_APPLY, 1, 0, 0); + this->parent->SendMsg(this, UM_COMMAND, ID_APPLY, 1, 0, 0); } } }