benilla-re systems structs docs

GetTaxiNodeType

function · ui · primitive

Address
0x4dc4e0 · 146 bytes, up to 0x4dc571
Signature
char * __fastcall (uint32_t slot)
Meaning
Returns the type name of a slot: CURRENT, REACHABLE, DISTANT or NONE
Confidence
verified, proof one
Finding
ui/taxi#node-types

Finding: Node types in ui: the taxi map

TaxiNodeGetType(slot) returns one of four strings. A slot at or past the count gives NONE. The slot of the current node gives CURRENT. A slot with no route gives NONE. Otherwise it tests the stored mask for the slot's node id: set gives REACHABLE, clear gives DISTANT. The builder clears a bit only for a node it did not make a slot, and every slot's bit is set, so DISTANT is not produced.

The derivation is in the doc.

Callers 1

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.