BlpReset
function · image · orchestration
- Address
0x5a7aa0· 42 bytes, up to0x5a7ac9- Signature
void __thiscall (void *this)- Meaning
- Clears the file pointer and frees the decoded chain
- Confidence
- verified, proof one
- Finding
- image/blp#reader-record
Finding: Reader record in image: BLP
A reader record is 0x4b4 bytes. The file header is copied to +0x04, so a header field sits at its
file offset plus 4 (the magic at +4 is file offset 0).
| offset | holds |
|---|---|
+0x00 | the decoded chain, 0 until built |
+0x04, +0x08 | magic BLP2, version 1 |
+0x0c | compression: 1 palette, 2 DXT, 3 raw BGRA |
+0x0d, +0x0e, +0x0f | alpha depth, alpha type, has mips |
+0x10, +0x14 | width, height |
+0x18 | 16 level offsets |
+0x58 | 16 level sizes |
+0x98 | 256 palette entries, BGRA |
+0x498 | the file image, 0 after a chain decode |
+0x49c, +0x4a0, +0x4b0 | 0, level count, temporary buffer of the last level |
The derivation is in the doc.
Callers 9
- TextureDecodeBlp gx
- TextureDecodeFileBytes gx
- TextureBuildFromBlp gx
- TabardModel::GetUpperEmblemTexture ui
- TabardModel::GetLowerEmblemTexture ui
- GetPortraitAlphaMask ui
- SetPortraitTexture ui
- BlpOpen image
- BlpParse image
Callees 1
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.