benilla-re systems structs docs

s_stormOption9

global · storm

Address
0xc53f0c · 4 bytes, up to 0xc53f0f
Type
uint32_t
Meaning
Holds Storm option 9 as 0 or 1, 0 at load
Confidence
verified, proof one
Finding
storm/printf#storm-options

Finding: Storm options in storm: printf

0x64ec80(id, data, size) sets one of the options 1 to 13 and returns 1. It returns 0 for a null data, an id outside the range or 8, a size other than the option's, or for option 2 a value that is neither a power of two nor 2^31 + 2^k for k below 31: the test runs in 32 bits. It sets Storm's last error to 0x57 first and to 0 on success. 0x64ead0(id, data, size) reads an option into a buffer of at least its size and sets *size; option 8 it computes through 0x650be0. Every cell starts at 0, and ClientMain is the setter's only caller: it sets options 10 and 11 to 1.

optionsizecellstored
140xc53ef8the value
240xc53efcthe value, a power of two or 2^31 + 2^k
340xc53ef4the value
440xc53f00the value
540xc53f04the value
680xc53ef0, 0xc53ee8the two dwords
740xc53f08the value
940xc53f0cvalue != 0
1040xc53f10value != 0: the ordered formatter
1140xc53f14value != 0: the wide-character file and registry calls
1240xc53f18value != 0
1340xc53f1cvalue != 0

The derivation is in the doc.