benilla-re systems structs docs

M2LookupIndex

function · models · primitive

Address
0x710310 · 17 bytes, up to 0x710320
Meaning
Returns an entry of a 16-bit lookup table, or 0xffff past its end
Confidence
verified, proof one
Finding
models/animation#playing-an-animation

Finding: Playing an animation in models: animation

PlayAnimation(keyBone, id, variation, offset, speed, blend, primary) first calls the done callback for an animation that ends unfinished. Id −1 stops the key bone, fading over 150 ms when it blends. Otherwise it resolves the id, picks the variation (−1 draws one by probability), and fills the primary slot, or the blend slot when not primary, with a repeat count drawn between the sequence's minimum and maximum, the speed negated for a reversed id and zeroed for a held one. A non-primary play fades out over the sequence's length end − start, at rate 1/(end − start) and scale 0.75.

The derivation is in the doc.

Callers 27

Callees 0

None by a direct call or jump.

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