s_serverAlertReady
global · glue
- Address
0xb41e2c· 4 bytes, up to0xb41e2f- Type
uint32_t- Meaning
- Holds 1 when a finished download found an alert; 0x46b930 shows it and clears it
- Confidence
- verified, proof one
- Finding
- glue/manager#server-alert-fetch
Finding: Server alert fetch in glue: the manager
The startup reads the Lua global SERVER_ALERT_URL (empty when not a string), sets pending
0xb41e28 to 1, ready 0xb41e2c to 0, empties the 2048-byte buffer 0xb414f8, and starts a
download with the callback 0x46a580; if it does not start, pending goes back to 0. Each call
with a size n above 0 copies at most min(n, 2048) − 1 bytes, stopping at a NUL, and appends
them, keeping the buffer to 2047 characters and a NUL. The final call, flagged done, sets ready to 1 when the buffer
is not empty and begins with SERVERALERT: in any case, then clears pending. Nothing restarts
the download.
The derivation is in the doc.