Script::EULAAccepted
function · glue · orchestration
- Address
0x46d040· 38 bytes, up to0x46d065- Signature
int __fastcall (lua_State *L)- Meaning
- Returns 0xb41e04 as 1 or nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- glue/script#agreement-notices
Finding: Agreement notices in glue: the script functions
Four agreements share one mechanism: a CVar and two flags. At startup 0x46a400 sets
the accepted flag to whether the CVar's integer is 1, and sets the show flag to 1 when the
integer is negative; otherwise the show flag keeps its load-time zero. Show…Notice returns
the show flag and …Accepted the accepted flag, each as a flag. Accept… sets accepted to 1,
show to 0 and the CVar to "1", and returns nothing. None reads an argument. The login refuses
to start until the TOS and the EULA are accepted (Login and account name).
| agreement | CVar | show | accepted | Show…Notice, …Accepted, Accept… |
|---|---|---|---|---|
| TOS | readTOS | 0xb41df8 | 0xb41dfc | 0x46cfa0, 0x46cfd0, 0x46d000 → 0x46aef0 |
| EULA | readEULA | 0xb41e00 | 0xb41e04 | 0x46d010, 0x46d040, 0x46d070 → 0x46af20 |
| Scanning | readScanning | 0xb41e08 | 0xb41e0c | 0x46d080, 0x46d0b0, 0x46d0e0 → 0x46af50 |
| Contest | readContest | 0xb41e10 | 0xb41e14 | 0x46d0f0, 0x46d120, 0x46d150 → 0x46af80 |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- lua_pushnil lua
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.