benilla-re systems structs docs

s_ffxVar

global · ffxeffects

Address
0xce8a04 · 4 bytes, up to 0xce8a07
Type
void *
Meaning
Holds the CVar record of ffx
Confidence
verified, proof one
Finding
ffxeffects/objects#start-and-shutdown

Finding: Start and shutdown in ffxeffects: pass objects and effects

0x6ccfc0 registers the CVars ffx (full screen effects) and ffxRectangle (use rectangle texture for full screen effects), each with default 1 and the handler 0x6cde30, looks up gxMultisample, clears the target descriptors, and sets 0xce89f8 to 1 when ffxRectangle's integer is nonzero and caps+0x98 is 6, 7, 8 or 10, else 0. 0x6cde30 prints enabled for a nonzero atoi of the new value and disabled otherwise, and returns 1; the effects register ffxGlow and ffxDeath with it too. 0x6cd1d0 destroys the textures of the seven target descriptors (0x58ad60 where a handle is set) and zeroes them.

The derivation is in the doc.