benilla-re systems structs docs

SFileSetBasePath

function · storm · orchestration

Address
0x6488b0 · 106 bytes, up to 0x648919
Signature
int32_t __stdcall (const char *path)
Meaning
Stores the base path with a trailing backslash and passes the path to 0x6571d0
Confidence
verified, proof two
Finding
storm/mount#loose-file-index

Finding: Loose-file index in storm: mounting the archives

0x646ea0 walks the base path 0xc52418, or . when it does not list, then that string with 0xc520c8 (Data\) appended (.Data\ in the fallback, so Data is then not walked), and marks the index built. 0x646910 skips ., .. and folders whose path below the walked folder is a prefix of Data\ (case-sensitive), walks the others, and enters every regular file: the key is its path below the walked folder, the value its full path. A last extension .bz or .MPQ (any case) is cut from the key, as kind 1 or 2; any other file is kind 0. A key's first entry stays: the base folder's before Data\'s, then listing order. A third folder, 0xc52310, stays empty.

The derivation is in the doc.

Callers 1

Callees 4

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