benilla-re systems structs docs

GetBillingTimeRested

function · ui · orchestration

Address
0x48ec50 · 56 bytes, up to 0x48ec87
Signature
int __fastcall (lua_State *L)
Meaning
Pushes the billing rest time of the session as one unsigned number
Confidence
verified, proof one
Finding
ui/billing#the-rest-time

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

GetBillingTimeRested() takes no argument, reads the session object's word at +0x1af8 and pushes it as one number, whole, unsigned and unscaled. It never pushes nil and cannot raise. The glue twin 0x46dcf0 is the same 56 bytes apart from its two call targets. The word is written once per authentication response by 0x5b41b0 (the third value of the billing group, only when the result is 0x0c or 0x1b and the group's 9 bytes are all there), and by nothing else; the session object is allocated with the zero-fill flag off and its constructors do not write the word, so a response without the full group leaves it as it was.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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