benilla-re systems structs docs

SCompDecompress

function · storm · orchestration

Address
0x661a80 · 423 bytes, up to 0x661c26
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

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.