benilla-re systems structs docs

BlpReset

function · image · orchestration

Address
0x5a7aa0 · 42 bytes, up to 0x5a7ac9
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).

offsetholds
+0x00the decoded chain, 0 until built
+0x04, +0x08magic BLP2, version 1
+0x0ccompression: 1 palette, 2 DXT, 3 raw BGRA
+0x0d, +0x0e, +0x0falpha depth, alpha type, has mips
+0x10, +0x14width, height
+0x1816 level offsets
+0x5816 level sizes
+0x98256 palette entries, BGRA
+0x498the file image, 0 after a chain decode
+0x49c, +0x4a0, +0x4b00, level count, temporary buffer of the last level

The derivation is in the doc.

Callers 9

Callees 1

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