benilla-re systems structs docs

ApplyBodySkin

function · charactermodel · orchestration

Address
0x478160 · 182 bytes, up to 0x478215
Signature
void __thiscall (void *this)
Meaning
Loads the skin row's second texture name and binds it as replaceable type 8
Confidence
verified, proof one
Finding
charactermodel/customization#skin
Test
charactermodel::cm_fanout_g_base_skin_texid

Finding: Skin in charactermodel: customization

0x478790(skin, face detail) stores +0x24 and, unless baked, builds the skin. When the skin is below the base count of skin variation 0 it loads the underwear cells +0x208 and +0x20c from section 4: the two texture names of the row ids[skin] of variation 0, kind 5, each skipped when empty. It then applies the body skin (0x478160), makes the skin cell (section 0, sub 0, group 3), applies the face (0x4785b0), and marks a full rebuild with every group dirty.

The derivation is in the doc.

Callers 2

Callees 5

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