benilla-re systems structs docs

s_playTimeWarnDeadline

global · ui

Address
0xb4e360 · 4 bytes, up to 0xb4e363
Type
uint32_t
Meaning
Holds the clock value at which the remaining billing time ends, 0 when not armed
Confidence
verified, proof one
Finding
ui/billing#the-warning-timer

Finding: The warning timer in ui: play time and the billing rest time

CGGameUI::InitializeGame zeroes the deadline 0xb4e360 at 0x48f636. With the session's remaining minutes R (+0x1af4) and plan flags, it then arms when 0 < R <= 4320 (unsigned) and flag bit 1 is clear: the deadline becomes now + R * 60000, now being the millisecond clock 0x42c010, and the line clock 0xb4e364 and dialog latch 0xb4e368 are zeroed. Otherwise those two keep their values and the deadline stays 0. It then jumps to CGGameUI::Initialize. The function has one caller, 0x401602 in 0x401570, whose one caller is 0x46c236 in the glue manager's state 8: it runs once per login into the world and never on ReloadUI, which runs 0x490bd0 and 0x48fbf0 alone.

The derivation is in the doc.