BuildLooseIndex
function · storm · orchestration
- Address
0x646ea0· 246 bytes, up to0x646f95- Signature
void __cdecl (void)- Meaning
- Builds the loose-file index from the base folder, then its Data folder, and marks it built
- Confidence
- verified, proof two
- Finding
- storm/mount#loose-file-index
- Test
storm::resolve_matches_index,storm::index_falls_back_to_dot
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
- SFileResolveOpen storm
Callees 5
- IndexLooseFolder storm
- SStrCopy storm
- SStrPack storm
- SDirOpen storm
- SDirClose storm
Calls and jumps by a bare address, from tables/calls.tsv.