benilla-re systems structs docs

s_surveyResultSize

global · glue

Address
0xb421f4 · 2 bytes, up to 0xb421f5
Type
uint16_t
Meaning
Holds the kept survey result's size, at most 1000; written by 0x473f10, cleared 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.