benilla-re systems structs docs

s_looseIndexBuckets

global · storm

Address
0xc521e8 · 4 bytes, up to 0xc521eb
Type
void *
Meaning
Points at the loose-file index's buckets, 12 bytes each, the chain head at +8
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.