benilla-re systems structs docs

s_alphaFieldMasks

global · image

Address
0x85c9b0 · 4 bytes, up to 0x85c9b3
Type
const uint8_t[4]
Meaning
Holds the masks of the four 2-bit alpha fields in a byte
Confidence
verified, proof one
Finding
image/convert#alpha-merge-into-16-bits

Finding: Alpha merge into 16 bits in image: pixel format conversion

After the colour pass 0x5a92d0 and 0x5a9580 OR the file's alpha plane into the words, and 0x5a9a80 packs a 2-bit alpha plane after the colours.

The derivation is in the doc.