SFileResolveOpen
function · storm · orchestration
- Address
0x647e60· 796 bytes, up to0x64817b- Signature
int32_t __fastcall (const char *name, char *out, uint32_t size, uint32_t flags, uint32_t *kind, void **archive)- Meaning
- Resolves an open name through the disk-path builder, or the loose-file index and then the archives
- Confidence
- verified, proof two
- Finding
- storm/mount#loose-files
- Test
storm::resolve_matches_index,storm::index_hit_has_no_fallback
Finding: Loose files in storm: mounting the archives
0x647e60(name, flags) adds the bits of 0x865b40, which start-up sets to 0 (0x648be0(0)) before anything
opens. A name that starts with two backslashes, has a colon second, or is opened while 0xc5251d is set goes to
the disk-path builder 0x648180; the one writer of 0xc5251d, 0x646fa0, has no caller. Any other name builds
the loose-file index if it is not built, asks it when flag bit 0 or 1 is set, and only on a miss walks the
archives (0x654920) with bits 0 and 1 cleared, since start-up clears 0x865b44 (0x648c20). So the walk's own
disk probe (0x654b59) never runs.
The derivation is in the doc.
Callers 2
- SFile::OpenEx storm
- SFileExistsEx storm
Callees 10
- BuildLooseIndex storm
- 0x648180 storm
- 0x649820 storm
- SStrChrR storm
- SStrCmp storm
- SStrCmpI storm
- SStrCopy storm
- SStrPack storm
- SStrHashHT storm
- 0x654920 storm
Calls and jumps by a bare address, from tables/calls.tsv.