benilla-re systems structs docs

s_surveyResult

global · glue

Address
0xb421f0 · 4 bytes, up to 0xb421f3
Type
void *
Meaning
Holds the kept compressed survey result, or null; written by 0x473f10, freed by 0x473e30
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.