benilla-re systems structs docs

Script::EULAAccepted

function · glue · orchestration

Address
0x46d040 · 38 bytes, up to 0x46d065
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).

agreementCVarshowacceptedShow…Notice, …Accepted, Accept…
TOSreadTOS0xb41df80xb41dfc0x46cfa0, 0x46cfd0, 0x46d000 → 0x46aef0
EULAreadEULA0xb41e000xb41e040x46d010, 0x46d040, 0x46d070 → 0x46af20
ScanningreadScanning0xb41e080xb41e0c0x46d080, 0x46d0b0, 0x46d0e0 → 0x46af50
ContestreadContest0xb41e100xb41e140x46d0f0, 0x46d120, 0x46d150 → 0x46af80

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.