benilla-re systems structs docs

BlpDecodeChainShared

function · image · orchestration

Address
0x5a8430 · 347 bytes, up to 0x5a858a
Signature
int __thiscall (void *this, uint32_t fmt, uint32_t **chain, uint32_t start, uint32_t flag)
Meaning
Decodes levels into a chain or points the chain at the file
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.

Callers 2

Callees 5

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