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).
This commit is contained in:
ragnarok-clanker 2026-11-07 18:09:15 +00:00
commit a5a0023d4d

View file

@ -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;
}