s_portraitFree
global · ui
- Address
0xc0ceb8· 4 bytes, up to0xc0cebb- Type
void *- Meaning
- Holds the head of the free list of portrait list nodes
- Confidence
- verified, proof one
- Finding
- ui/paperdoll#draining-the-pending-list
Finding: Draining the pending list in ui: the paper doll and its model events
The drain returns at once unless two graphics readiness tests pass. For each pending GUID it looks up the unit and puts the
node back, firing nothing, unless the unit has: no portrait-invalidate latch (+0xcd0), no appearance latch (+0xccc),
a ready component texture (or none), a model (+0xd8) and a resident skin. A GUID that resolves to no unit is drained and
fires anyway. A drained node moves to the free list.
The derivation is in the doc.