benilla-re systems structs docs

BuildCreateCharacter

function · glue · orchestration

Address
0x470b70 · 273 bytes, up to 0x470c80
Signature
void __fastcall (void *record, uint32_t unused)
Meaning
Replaces the create character with one built from a record when its race and sex have a model path
Confidence
inferred
Finding
glue/create#building-the-character

Finding: Building the character in glue: character create

A build needs a model path for the race and sex. It destroys the old character, makes one, loads the path into the frame's scene, sets the model's two callbacks and an animation, sets the character up from the record, applies the stored facing, rebuilds the class list, dresses it, bakes it and passes it with the frame's model at +0x318 to 0x712f70. With no path nothing changes; a failed load leaves the new character without a model.

The derivation is in the doc.

Callers 3

Callees 16

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