CloseTaxiMap
function · ui · orchestration
- Address
0x4dc0f0· 117 bytes, up to0x4dc164- Signature
void __cdecl ()- Meaning
- Clears the master target, frees the route arrays and signals TAXIMAP_CLOSED
- 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 6
- ClearInteractionTarget ui
- ShutdownTaxiMap ui
- OpenTaxiMap ui
- Script::CloseTaxiMap ui
- ShowActivateTaxiResult objectlayer
- CGUnit_C::OnNPCFlagsChanged objectlayer
Callees 3
- EndInteractionWithGuid ui
- SMemFree storm
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.