From ab0be0656e3de60531792bae487d3acfcbcaff73 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 01:08:02 +0000 Subject: [PATCH] Decompile fn_10409 (DecodeNavigationNumber) Batch #17596 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_10409 DecodeNavigationNumber: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Navigation/NavigationLink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UI/Navigation/NavigationLink.cpp b/Source/UI/Navigation/NavigationLink.cpp index cfc11037b..8ea1645b2 100644 --- a/Source/UI/Navigation/NavigationLink.cpp +++ b/Source/UI/Navigation/NavigationLink.cpp @@ -312,7 +312,7 @@ int DecodeNavigationNumber(std::string value) { int result = 0; char* buffer = new char[size]; strcpy_s(buffer, size, value.c_str()); - const int length = static_cast(value.size()); + const int length = size - 1; for (int index = 0; index < length; ++index) { for (int digit = 0; digit < 62; ++digit) {