benilla-re systems structs docs

ReadPlayTimeWarning

function · objectlayer · primitive

Address
0x5e7830 · 183 bytes, up to 0x5e78e6
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Shows the play-time warning with the time left as hours and minutes
Confidence
verified, proof one
Finding
objectlayer/playermessages#play-time

Finding: Play time in objectlayer: player messages

0x2f5 reads u32 flags and i32 seconds and formats the minutes as %2d:%02d hours and minutes, signed and truncating. Flag 0x1000 shows ERR_APPROACHING_PARTIAL_PLAY_TIME with the time, else 0x2000 ERR_APPROACHING_NO_PLAY_TIME, else bit 31 ERR_UNHEALTHY_TIME.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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