benilla-re systems structs docs

MountArchives

function · client

Address
0x403740 · 613 bytes, up to 0x4039a4
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

Callees 13

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