benilla-re systems structs docs

s_animationDataMaxId

global · dbc

Address
0xc0e074 · 4 bytes, up to 0xc0e077
Type
uint32_t
Meaning
Holds the highest id of the animation table
Confidence
verified, proof one
Finding
models/animation#animation-id-resolution

Finding: Animation id resolution in models: animation

ResolveAnimationId(id) returns an id the model has and two flags. An id below the header's playable count reads its pair from the playable table. Otherwise it follows the client's animation table: while the id is past the lookup or unmapped, it moves to the row's fallback; a row with flag 0x10 reverses playback and one with 0x20 holds the last frame. A loop, a missing row or a row that falls back to itself ends at the default: animation 0 when mapped, else 0x93, else the first sequence.

The derivation is in the doc.