benilla-re systems structs docs

AttachShoulderModels

function · charactermodel · orchestration

Address
0x479d10 · 359 bytes, up to 0x479e76
Signature
void __thiscall (void *this)
Meaning
Attaches the worn shoulder models at attachments 6 and 5
Confidence
verified, proof one
Finding
charactermodel/equipment#item-models

Finding: Item models in charactermodel: equipment

0x4798c0(model, attach id, model path, texture path, visual id) creates a model from the path, binds the texture as replaceable type 2, and, when the visual id is positive, attaches that visual's effect models (0x479700: up to five, at attachments 0 to 4 of the item model). It detaches whatever sits at the attach id on the character model and attaches the new one. An item whose texture fails to load is not attached. Attachment ids 1 and 2 then close the right and left hand (hand grips). The cloak is a texture on the character model itself (0x479b40, type 2); shoulders are two models at attachments 6 and 5 (0x479d10) and the quiver one at 0x1a (0x479c50).

The derivation is in the doc.

Callers 1

Callees 2

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