benilla-re systems structs docs

s_stage1DxtIndex

global · image

Address
0x5a86fc · 8 bytes, up to 0x5a8703
Type
const uint8_t[8]
Meaning
Holds the case of each format 0 to 7 in the DXT switch of 0x5a8590
Confidence
verified, proof one
Finding
image/blp#level-pointers-without-copies

Finding: Level pointers without copies in image: BLP

0x5a8430(fmt, &chain, start, flag) is the variant that can point the chain at the file instead of copying. When the caller supplies a chain, flag is non-zero and the data is DXT for a format outside 2 to 5 or raw, it sets entry i to fileImage + offsets[i] for each level whose size is non-zero.

The derivation is in the doc.