MountArchives
function · client
- Address
0x403740· 613 bytes, up to0x4039a4- Meaning
- Mounts the patch, speech and base MPQ archives in priority order
- Confidence
- verified, proof two
- Finding
- storm/mount#patch-archives
Finding: Patch archives in storm: mounting the archives
0x403740 collects Data\patch-?.MPQ through the operating system's wildcard match (Windows' rule for ?, not read
here) and skips hidden files, sorts the matches case-insensitively descending,
then adds Data\patch.MPQ, and opens the array from its end. The opening order is patch.MPQ, patch-2,
patch-3, and so on upward, from priority 0x40, one more for each open that succeeds; a patch that fails to open
is skipped silently. Only the Data directory is searched.
The derivation is in the doc.
Callers 1
- InitializeGlobal client
Callees 13
- FindArchiveRoot client
- OpenBaseArchive client
- 0x4045a0 unassigned
- 0x404690 unassigned
- 0x4046f0 unassigned
- 0x41a350 unassigned
- EnumerateFolderFiles os
- SMemFree storm
- SFileOpenArchiveShim storm
- SFileOpenChild storm
- SErrDisplayAppFatal storm
- 0x64de30 storm
- 0x64df50 storm
Calls and jumps by a bare address, from tables/calls.tsv.