benilla-re systems structs docs

BuildSectionTexture

function · charactermodel · primitive

Address
0x476e20 · 135 bytes, up to 0x476ea6
Signature
void * __thiscall (void *this, void *record, uint32_t group)
Meaning
Names an item record's section texture, falling back to the sex letter, and makes its cell
Confidence
verified, proof one
Finding
charactermodel/component#texture-path-names
Test
charactermodel::cm_fanout_h_equip_filename

Finding: Texture path names in charactermodel: component

0x476e20(record, group) names the section texture of an item record. The path is Item\TextureComponents\<dir>\<name>_U.blp with dir the group's directory name (ArmUpperTexture, ArmLowerTexture, HandTexture, TorsoUpperTexture, TorsoLowerTexture, LegUpperTexture, LegLowerTexture, FootTexture) and name the record's texture string +0x38 + 4·group. When that file does not exist, the letter before .blp becomes the sex letter, M or F. It then makes the cell with kind 9. The _U name is tried first and wins when both exist.

The derivation is in the doc.

Callers 1

Callees 3

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