Decompile fn_18285 (ParseHexString)

Batch #13207 by spider: 0 byte-identical, 1 confirmed by peer review.

- fn_18285 ParseHexString: logic confirmed by peer review

Peer-reviewed-by: SapitoSucio, cremane, StrawberrysherbetIX
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-06 11:58:55 +00:00
commit d23facd349

View file

@ -6,7 +6,7 @@
// FUNCTION: fn_18285
int ParseHexString(const char* text) {
int value = 0;
unsigned char shift = 0;
int shift = 0;
for (int index = static_cast<int>(std::strlen(text)) - 1; index > 1; --index) {
const int digit = text[index];
switch (digit) {