s_serverAlertPrefixPtr
global · glue
- Address
0x836b3c· 4 bytes, up to0x836b3f- Type
const char *- Meaning
- Points at the server alert's prefix 0x836ed8
- 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.