s_tosAccepted
global · glue
- Address
0xb41dfc· 4 bytes, up to0xb41dff- Type
uint32_t- Meaning
- Holds readTOS == 1 from startup; AcceptTOS sets 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.
| option | record | show-notice | accepted | accept |
|---|---|---|---|---|
readTOS | 0x882720 | 0xb41df8 | 0xb41dfc | 0x46aef0 |
readEULA | 0x882688 | 0xb41e00 | 0xb41e04 | 0x46af20 |
readScanning | 0x8826d8 | 0xb41e08 | 0xb41e0c | 0x46af50 |
readContest | 0x88265c | 0xb41e10 | 0xb41e14 | 0x46af80 |
The derivation is in the doc.