SCompDecompress
function · storm · orchestration
- Address
0x661a80· 423 bytes, up to0x661c26- Meaning
- Applies the codecs of a sector's mask in order, or copies when the sizes are equal
- Confidence
- verified, proof two
- Finding
- storm/format#codecs
Finding: Codecs in storm: the archive format
A compressed sector's first byte is a mask of codecs. 0x661a80 accepts only the bits 0x01 (0x661350), 0x02
(0x660800), 0x10 (0x660c10), 0x20 (0x660ac0), 0x40 (0x660f60) and 0x80 (0x6611e0); any other bit fails
the call. It applies the codecs of the set bits in the order 0x10, 0x02, 0x01, 0x20, 0x80, 0x40. Equal
packed and unpacked sizes copy the bytes.
The derivation is in the doc.
Callers 2
- SFileReadSectors storm
- 0x661a60 storm
Callees 3
- SErrSetLastError storm
- 0x6618f0 storm
- 0x6619d0 storm
Calls and jumps by a bare address, from tables/calls.tsv.