Firmware Fn setRouteSectionDetourId - krcenov/RNS510-Map-Viewer GitHub Wiki
setRouteSectionDetourId — CfcTypeJourneyRouteId::setRouteSectionDetourId
Part of Firmware Reversing.
- File offset:
0x7c4898(VA0xf705258c) - Status: 🟡* Partially traced — one of only 4 functions in the
"gold standard" set (real name + confirmed real caller) that is ALSO
an exact, clean strict-prologue match. Real logic confirmed for the
first ~80 bytes; a real matching epilogue wasn't found within 768
bytes, so the full extent is NOT bounded (unlike
getIso2CountryCode, traced the same session from the same gold-standard list). - Full mangled name:
setRouteSectionDetourId__21CfcTypeJourneyRouteIdi
What's confirmed
Takes 4 real arguments (this, r4, r5, r6). Early logic: calls
an indirect function through this, checks a result code (cmpwi
against 0x22), writes a zero byte to a computed array position
(r27+r28 as index), clears a real global flag, and tests a bit
flag (&2) from a field of this — thematically plausible for
"setting a route-section detour ID" (validating state, clearing a
flag, writing to an indexed array position), though not confirmed
beyond this point. Shows the same inline "undecodable data" shape
documented centrally on Firmware Reversing —
here appearing very early in the function (right at its 2nd
instruction), not just at the end.
Callees
Not resolved in the traced portion (the one indirect call goes through
a computed function pointer, not a named lis/addi reference).