benilla-re systems structs docs

s_surveyArchiveKey

global · glue

Address
0x838848 · 256 bytes, up to 0x838947
Type
uint8_t[256]
Meaning
Holds the 256-byte public key the survey archive's signature is checked with
Confidence
verified, proof one
Finding
glue/downloads#running-the-survey

Finding: Running the survey in glue: survey and patch downloads

In state 11, with a complete survey file, the update runs the survey once: the archive's signature must give a result of at least 5; Survey.dll is extracted to WDB\Survey.dll, loaded, and its ExtraWork export called with a zeroed 4,100-byte block holding 4, 8, the locale code and the survey id. A nonzero return with a length of at most 4,096 is compressed with zlib at level 9 into 8,192 bytes, and a compressed result of at most 1,000 bytes is kept. Without a kept result the client sends a survey failure. The DLL is unloaded and deleted, and the archive closed.

The derivation is in the doc.