From 8dc3622b1c3ec877ab7ca7e305c7dca372aa40e1 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 01:03:05 +0000 Subject: [PATCH] Decompile fn_11710 (UIBank_NewWnd::AdjustAmount) Batch #17587 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_11710 UIBank_NewWnd::AdjustAmount: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Dialogs/UIMessageBox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/Dialogs/UIMessageBox.cpp b/Source/UI/Dialogs/UIMessageBox.cpp index 8c8f1ef85..686da2401 100644 --- a/Source/UI/Dialogs/UIMessageBox.cpp +++ b/Source/UI/Dialogs/UIMessageBox.cpp @@ -472,7 +472,8 @@ long long UIBank_NewWnd::AdjustAmount(int amount) { } else if (!this->IsNumeric(text)) { result = amount; } else { - result = amount + _atoi64(text.c_str()); + const long long value = _atoi64(text.c_str()); + result = amount + value; } if (result > 0x7FFFFFFF) { result = 0x7FFFFFFF;