benilla-re systems structs docs

SetCharacterFace

function · charactermodel · orchestration

Address
0x4785b0 · 163 bytes, up to 0x478652
Signature
void __thiscall (void *this, int32_t face, bool detail)
Meaning
Sets a character component's face index
Confidence
verified, proof one
Finding
charactermodel/customization#face

Finding: Face in charactermodel: customization

0x4785b0(face, detail) runs when the component is not baked and the skin is below the base count. A face passes 0x477c20(1, face, skin); it stores +0x2c and makes two cells of section 1 with the skin as the colour: sub 0 for group 9 and sub 1 for group 8. With the detail flag it also makes the section 3 cells for the hair style and colour: sub 1 for group 9 and sub 2 for group 8.

The derivation is in the doc.

Callers 3

Callees 2

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