RestorePlayerControlOnArrival
function · ui · orchestration
- Address
0x4958a0· 61 bytes, up to0x4958dc- Signature
void __cdecl (void)- Meaning
- Sets the player-control flag to 1 without an event and makes the active player the active mover
- Confidence
- verified, proof one
- Finding
- ui/gameui#control-back-on-arrival
Finding: Control back on arrival in ui: game start-up and shutdown
0x4958a0 sets the player-control flag 0xb4b3e4 to 1 without signalling and makes the active
player the active mover again (SetActiveMover). Its one caller is the active player's arrival,
after the unit's own control is restored.
The derivation is in the doc.
Callers 1
- CGPlayer_C::OnActiveArrival objectlayer
Callees 2
- ClntObjMgrGetActivePlayer objectlayer
- SetActiveMover objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.