benilla-re systems structs docs

SFileOpenArchive

function · storm · orchestration

Address
0x655670 · 32 bytes, up to 0x65568f
Meaning
Opens an archive record through the inner open
Confidence
verified, proof two
Finding
storm/format#header

Finding: Header in storm: the archive format

0x655bf0 tries offsets of the archive in steps of 0x200, each served from a buffered read of 0x1000 bytes, and takes the first that passes four tests: the magic 0x1a51504d, a header size of at least 0x20, and at most 0x10000 hash entries and 0x10000 block entries. The 32-byte header is the magic, header size, archive size, a 16-bit version (not tested here), a 16-bit sector shift (low byte used; sector size 0x200 << shift), then the offsets of the hash and block tables and their entry counts, relative to the header. A short read or no room for 0x20 bytes fails with 0x8510006c.

The derivation is in the doc.

Callers 5

Callees 1

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