benilla-re systems structs docs

RestorePlayerControlOnArrival

function · ui · orchestration

Address
0x4958a0 · 61 bytes, up to 0x4958dc
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

Callees 2

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