BlpHasMips
function · image · primitive
- Address
0x5a8220· 5 bytes, up to0x5a8224- Signature
uint32_t __thiscall (void *this)- Meaning
- Returns the has-mips byte
- 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 4
- TextureBuildFromBlp gx
- BlpAllocChain image
- BlpCheckLevel image
- BlpParse image
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.