benilla-re systems structs docs

s_lcdWaitDeadline

global · ui

Address
0xcf06f0 · 4 bytes, up to 0xcf06f3
Type
uint32_t
Meaning
Holds the time at which the battlefield wait screen's countdown ends
Confidence
verified, proof one
Finding
ui/lcd#battlefield-status

Finding: Battlefield status in ui: the keyboard LCD

0x72b710 handles one battlefield status message (HandleBattlefieldStatusPacket, 0x4aab12). It reads a slot below 3 and a dword into the slot's record at 0xb6e9d0 + slot · 0x20, a byte, the map's name from the array at 0xc0daa8, a status and a time. Status 2 calls 0x72b2b0 and status 3 0x72a4a0. 0x72b2b0(minutes, name, deadline) writes the name, stores the deadline in 0xcf06f0, shows screen 2 and sets element 0x16 to the remaining minutes and seconds with MINUTES_ABBR and SECONDS_ABBR.

The derivation is in the doc.