GetStormOption
function · storm · orchestration
- Address
0x64ead0· 379 bytes, up to0x64ec4a- Signature
uint32_t __stdcall (uint32_t id, void *data, uint32_t *size)- Meaning
- Reads Storm option 1 to 13 into a buffer of at least its size and stores the size
- 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.
| option | size | cell | stored |
|---|---|---|---|
| 1 | 4 | 0xc53ef8 | the value |
| 2 | 4 | 0xc53efc | the value, a power of two or 2^31 + 2^k |
| 3 | 4 | 0xc53ef4 | the value |
| 4 | 4 | 0xc53f00 | the value |
| 5 | 4 | 0xc53f04 | the value |
| 6 | 8 | 0xc53ef0, 0xc53ee8 | the two dwords |
| 7 | 4 | 0xc53f08 | the value |
| 9 | 4 | 0xc53f0c | value != 0 |
| 10 | 4 | 0xc53f10 | value != 0: the ordered formatter |
| 11 | 4 | 0xc53f14 | value != 0: the wide-character file and registry calls |
| 12 | 4 | 0xc53f18 | value != 0 |
| 13 | 4 | 0xc53f1c | value != 0 |
The derivation is in the doc.
Callers 1
- 0x64bd40 storm
Callees 2
- SErrSetLastError storm
- 0x650be0 storm
Calls and jumps by a bare address, from tables/calls.tsv.