benilla-re systems structs docs

s_showTosNotice

global · glue

Address
0xb41df8 · 4 bytes, up to 0xb41dfb
Type
uint32_t
Meaning
Holds 1 when readTOS was negative at startup; AcceptTOS clears it
Confidence
verified, proof one
Finding
glue/manager#agreement-flags

Finding: Agreement flags in glue: the manager

Each of the four agreement options gives two flags from its integer value v (the CVar record's +0x28): accepted is v == 1, and show-notice is set to 1 when v < 0 and otherwise left at its default, 0. The Accept… functions set accepted to 1, show-notice to 0 and the option to "1"; the Show…Notice and …Accepted bindings return the flags.

optionrecordshow-noticeacceptedaccept
readTOS0x8827200xb41df80xb41dfc0x46aef0
readEULA0x8826880xb41e000xb41e040x46af20
readScanning0x8826d80xb41e080xb41e0c0x46af50
readContest0x88265c0xb41e100xb41e140x46af80

The derivation is in the doc.