BlpOpen
function · image · host
- Address
0x5a7b40· 219 bytes, up to0x5a7c1a- Signature
int __thiscall (void *this, const char *path, int flag)- Meaning
- Reads a whole BLP file into the shared buffer and parses its header
- Confidence
- verified, proof one
- Finding
- image/blp#opening-a-file
Finding: Opening a file in image: BLP
0x5a7b40(path, flag) reads a whole file into one shared buffer and parses its header. The buffer
is a module static that every record's file pointer aims at, so only the record opened last is
valid.
The derivation is in the doc.
Callers 5
- TextureDecodeBlp gx
- TabardModel::GetUpperEmblemTexture ui
- TabardModel::GetLowerEmblemTexture ui
- GetPortraitAlphaMask ui
- SetPortraitTexture ui
Callees 9
- 0x5268b0 ui
- 0x59fc50 gx
- BlpReset image
- BlpParse image
- SFile::OpenEx storm
- SFile::Read storm
- SFile::Close storm
- SFile::GetFileSize storm
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.