benilla-re systems structs docs

CharSelectSequenceEnd

function · glue · orchestration

Address
0x473090 · 77 bytes, up to 0x4730dc
Signature
void __fastcall (void *model, int32_t keyBone, int32_t anim, int32_t reason, int32_t overrun, int32_t a, int32_t b)
Meaning
Replays animation 0 for key bone -1 or 0x1a on reason 0, stops other ended key bones unless animation 15
Confidence
verified, proof one
Finding
glue/selectscene#idle-animation-loop

Finding: Idle animation loop in glue: the select scene

The body and the pet start with identical calls, 0x7121a0(-1, 0, -1, 0, 1.0, 1, 1): the whole model, animation 0, a random variation, from the start, blended and persistent. No argument loops.

Both models register 0x473090 through 0x711bb0 as the sequence-completion callback. On a completion (reason 0) it branches on the channel in edx: −1 or 0x1a replays animation 0 on the whole model with a fresh random variation (0x47309a, 0x47309f), so a pet idles by chaining Stand variations; any other channel gets 0x7121a0(edx, −1, −1, 0, 1.0, 1, 1) unless the animation is 15 (0x4730a4), which does nothing.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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