benilla-re systems structs docs

BlitTorsoLowerGroup

function · charactermodel · orchestration

Address
0x477360 · 49 bytes, up to 0x477390
Signature
void __thiscall (void *this)
Meaning
Blits the skin and the five equipment cells onto the lower torso tile
Confidence
verified, proof one
Finding
charactermodel/composite#group-handlers

Finding: Group handlers in charactermodel: composite

Ten handlers sit in a table at 0xb422f4, one per group, filled by 0x476020. Each blits the skin cell onto its tile and then its overlay cells in column order, so a later column paints over an earlier one. Groups 0 to 7 take row g of the equipment cells, with 2, 7, 1, 5, 5, 3, 6 and 1 columns. Groups 3 and 5 first draw an underwear cell when the leading equipment cells of their row are empty. Groups 8 and 9 draw the skin only when the skin colour is not below the base count, then the face, facial hair and hair cells.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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