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).
This commit is contained in:
ragnarok-clanker 2026-11-12 01:08:02 +00:00
commit ab0be0656e

View file

@ -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<int>(value.size());
const int length = size - 1;
for (int index = 0; index < length; ++index) {
for (int digit = 0; digit < 62; ++digit) {