benilla-re systems structs docs

CGUnit_C::StartBothSheatheAnims

function · objectlayer · primitive

Address
0x611a20 · 317 bytes, up to 0x611b5c
Meaning
Plays 89 or 90 on bones 3 and 2 for both hands or the ranged item and sets bits 20 and 21 of +0xd58
Confidence
verified, proof one
Finding
objectlayer/unitanim#drawing-and-sheathing

Finding: Drawing and sheathing in objectlayer: unit animation

The sheathe state, 0 put away, 1 melee, 2 ranged, is +0xd40, the previous one +0xd3c. 0x611cf0(state, instant, send) changes it: three classes cannot draw a ranged weapon; the active player sends 0x1e0 with the state. An instant change moves the models at once; otherwise sheathe animations play on the arm bones and the model events move the models.

The derivation is in the doc.

Callers 1

Callees 2

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