From a5a0023d4d80d65105e70bfe221d020e2858af1a Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 18:09:15 +0000 Subject: [PATCH] Decompile fn_10410 (NavigationLinkParser::EncodeNavigationNumber) Batch #14781 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_10410 NavigationLinkParser::EncodeNavigationNumber: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Text/NavigationLink.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/UI/Text/NavigationLink.cpp b/Source/UI/Text/NavigationLink.cpp index 54ddb4893..edc304abf 100644 --- a/Source/UI/Text/NavigationLink.cpp +++ b/Source/UI/Text/NavigationLink.cpp @@ -323,9 +323,8 @@ std::string NavigationLinkParser::EncodeNavigationNumber(int value) { characters.push_back(digits[value]); std::string result; - const std::size_t count = characters.size(); - for (std::size_t index = 0; index < count; ++index) { - result += characters[count - 1 - index]; + for (auto it = characters.rbegin(); it != characters.rend(); ++it) { + result += *it; } return result; }