SFileExists
function · storm · orchestration
- Address
0x648a10· 18 bytes, up to0x648a21- Signature
int32_t __stdcall (const char *name)- Meaning
- Resolves a name with open flags 0, the archives only, and returns 1 when it resolves
- Confidence
- verified, proof two
- Finding
- storm/mount#which-opens-ask-the-index
Finding: Which opens ask the index in storm: mounting the archives
An open asks the index only with flag bit 0 or 1. SFile::Open, 0x6485f0 and 0x648a10 pass 0, and so do the DBC tables,
the terrain files, the minimap catalog, movie subtitles, VideoHardware and the telemetry read. These pass 1 or 3:
| entry | flags | opens |
|---|---|---|
SFile::Load for interface and settings files | 1 | .toc, .xml, .lua, bindings, saved variables, AddOns.txt, Config.wtf |
0x648a30 from the add-on loader and CGGameUI::Initialize | 1 | existence of an add-on's .toc, bindings and saved variables, and of Interface\FrameXML\Bindings.xml |
0x5d0060, a font face | 3 | the font file: its bare name first, then its path |
CSimpleTexture::SetTexture, Minimap texture methods, model frame ReplaceTexture | 1 | interface textures through 0x449d90 |
0x449610 from the cursor code | 1 | the cursors and the dragged picture |
CreateModelFromPath | flags bit 2 | the .m2 and its textures |
the sound callbacks 0x7a8770, 0x7a8ab0 | 1 | every file FMOD opens |
ReadMovieAvi | 1 | the movie .avi |
GetPortraitAlphaMask, SetPortraitTexture through 0x5a3660 and 0x5a7b40 | 1 | the portrait masks and portraits |
the texture updates 0x448840 and 0x44a260, and 0x4493a0 | bit 0x2 of the texture's +0x110 | a texture's re-read, by its first open's flag |
The texture cache 0x47ac10 calls 0x449610 with 0; the other callers of 0x449d90 and the tabard emblems'
0x5a7b40 pass 0.
The derivation is in the doc.
Callers 1
- BuildSectionTexture charactermodel
Callees 1
- SFileExistsEx storm
Calls and jumps by a bare address, from tables/calls.tsv.