SignalDeathState
function · ui · orchestration
- Address
0x495850· 72 bytes, up to0x495897- Meaning
- Signals PLAYER_DEAD and clears the cursor at no health, else PLAYER_ALIVE
- Confidence
- verified, proof one
- Finding
- ui/deathui#dead-and-alive
Finding: Dead and alive in ui: death, the corpse run and resurrection
0x495850 signals PLAYER_DEAD and clears the cursor (0x495190(1, 1)) when UNIT_FIELD_HEALTH of the active player is 0 or less, else signals PLAYER_ALIVE. It runs from the health watcher chain of the death handler, once at world entry and on the packet 0x252.
The derivation is in the doc.
Callers 3
- CGPlayer_C::OnActiveArrival objectlayer
- ReadResurrectFailed objectlayer
- PresentUnitDeath objectlayer
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ClearCursor ui
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.