Script::GetReleaseTimeRemaining
function · ui · primitive
- Address
0x48b5a0· 60 bytes, up to0x48b5db- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the seconds until release, -1 for a map without a timer
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/deathui#the-release-timer
Finding: The release timer in ui: death, the corpse run and resurrection
GetReleaseTimeRemaining() pushes the seconds left until the dead player is released, -1 when the map has no timer and 0 when the timer is unset or past. The client arms it: when the active player dies, 0x5e99b0 tests bit 3 of byte 0 of PLAYER_FIELD_BYTES (player block +0x1028) and, if it is set, stores the current time plus 360000 milliseconds at 0xb4e340 (0x496250), else sets the no-timer byte 0xb4e344 (0x496280).
The countdown is not on the wire.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- GetReleaseTimeMs ui
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.