benilla-re systems structs docs

ShutdownTaxiMap

function · ui · orchestration

Address
0x4db700 · 10 bytes, up to 0x4db709
Signature
void __cdecl ()
Meaning
Frees the taxi map state, then closes the open map
Confidence
verified, proof one
Finding
ui/taxi#closing-the-map

Finding: Closing the map in ui: the taxi map

The close 0x4dc0f0 does nothing with no stored GUID. Otherwise it clears the interaction target, zeroes the GUID, frees each slot's route array and signals TAXIMAP_CLOSED (307). Clearing the target (0x4dc105, 0x4931c0) runs the dispatcher 0x493310 when the master is still the target; it calls the close again while the GUID is still set, so a script close signals TAXIMAP_CLOSED twice. The slot count, the mask and the texture stay. Six places call it: the interaction clear when the stored target is the master, shutdown, the opening of another master, CloseTaxiMap(), the activation reply 0, and the loss of the flight master NPC flag.

The derivation is in the doc.

Callers 1

Callees 2

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