benilla-re systems structs docs

SFileExistsEx

function · storm · orchestration

Address
0x648a30 · 44 bytes, up to 0x648a5b
Signature
int32_t __stdcall (const char *name, uint32_t flags)
Meaning
Resolves a name with open flags without opening it 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:

entryflagsopens
SFile::Load for interface and settings files1.toc, .xml, .lua, bindings, saved variables, AddOns.txt, Config.wtf
0x648a30 from the add-on loader and CGGameUI::Initialize1existence of an add-on's .toc, bindings and saved variables, and of Interface\FrameXML\Bindings.xml
0x5d0060, a font face3the font file: its bare name first, then its path
CSimpleTexture::SetTexture, Minimap texture methods, model frame ReplaceTexture1interface textures through 0x449d90
0x449610 from the cursor code1the cursors and the dragged picture
CreateModelFromPathflags bit 2the .m2 and its textures
the sound callbacks 0x7a8770, 0x7a8ab01every file FMOD opens
ReadMovieAvi1the movie .avi
GetPortraitAlphaMask, SetPortraitTexture through 0x5a3660 and 0x5a7b401the portrait masks and portraits
the texture updates 0x448840 and 0x44a260, and 0x4493a0bit 0x2 of the texture's +0x110a 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 4

Callees 1

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