benilla-re systems structs docs

system objectlayer · source

objectlayer: unit animation

How a unit picks and plays its model's animations: the base animation a chain of resolvers picks from the unit's state, the play call that splits it across the full body, the upper body and the mount, the animations that follow one another when a sequence ends, the model events a sequence fires, emotes, and drawing and sheathing weapons. Animation ids are rows of AnimationData.dbc, named here by its Name column; 208, one past the last row, means none. The flag word +0xd58 holds the unit's animation state bits.

Roots: 0x5fd9e0, 0x5fe2f0, 0x5fc920, 0x5ffbd0, 0x611cf0

Choosing the base animation

0x5fd8b0(mask) starts from 208 and asks ten resolvers in order; the first to claim the unit ends the chain, writing its animation only when its bit is in mask. A jumping unit that is also falling, or one whose mover is mid-jump, gets none. With nothing claimed it returns a pending animation, else the idle one. 0x5fd9e0 plays the result when the model is loaded.

bitresolverclaims
0x10x5fcff0dead: 6 Dead, swimming 132 Drowned
0x20x5fd0500x8 of +0xd58; stand state 9 (201, 202) and leaving it (127)
0x40x5fd100moving: swim, fly, back, stealth, sprint, run, walk
0x80x5fd260looting: 50 Loot
0x100x5fd2e0channelling or precasting: the cast kit's animation
0x200x5fd360attacking: a pending swing or the weapon's ready animation
0x400x5fd3f0turning in place: 11 or 12
0x800x5fd460ranged weapon drawn: a load or hold animation
0x1000x5fd550stand states 1 to 8
0x2000x5fd770UNIT_NPC_EMOTESTATE's emote

Addresses: 0x5fd8b0, 0x5fd9e0, 0x5fcff0, 0x5fd050, 0x5fd100, 0x5fd260, 0x5fd2e0, 0x5fd360, 0x5fd3f0, 0x5fd460, 0x5fd550, 0x5fd770, 0x5fd830, 0x5fd658, 0x5fcdc0, 0x5fce04, 0x5fce14, 0x5fce30 Confidence: verified Proof: one Test: objectlayer::uh_fall_timer_anim_difftest

A resolver that does not claim returns (mask & −2·bit) == 0, so the chain also ends once no later bit is asked; the last tests its own bit. Moving (0x5fd100): swimming gives 41 for a turn bit, else 43 (left) or 44 (right) for a strafe, else 45 backward, else 42 (0x5fd13e to 0x5fd181; a turn alone fails the & 0xf gate); a flying spline 135 Fly; backward 13; stealth (bit 1 of UNIT_FIELD_BYTES_1 byte 3) 119; a speed of 11 (0x80c484) or more 143 Sprint; above twice the walk speed +0xa30 5 Run; else 4 Walk. Stand states through 0x5fd658: 1 gives 96 or, already sitting, 97; 3 gives 99 or 100; 4 to 6 give 102 to 104; 7 gives 6 or 132; 8 gives 114 or 115; 0 after 1, 3 or 8 gives 98, 101 or 116. The ready animation 0x5fcdc0 maps the main-hand weapon subclass through 0x5fce14 into 0x5fce04: 26 one-handers, 27 two-handers, 28 polearms, staves and spears, else 25. The idle 0x5fd830 is 41 swimming, 120 stealthed, 193 Hover when flying, else 0 Stand. 0x5fce30 allows a shuffle while turning, not flying, and not in an emote, cast or ranged animation.

The mover and the pick

No resolver reads the active mover, so a possessed creature picks its animation from its own movement flags +0x9e8, exactly as the player's body does.

Addresses: 0x5fcff0, 0x5fe300, 0x5fd8b0, 0x5fd100, 0x6103a0, 0x468550, 0xc4da98, 0xc4da9c, 0xb41414 Confidence: verified Proof: one Test: none

The span 0x5fcff0 to 0x5fe300 holds no reference to 0xc4da98, 0xc4da9c, 0xb41414, 0x6103a0 or 0x468550. The same patterns find 79 references to the mover words, 50 to 0xb41414, 14 calls of 0x6103a0 and 845 of 0x468550 in the whole image.

The airborne hold

A falling unit keeps its animation: the selector returns the keep-current value 208 (0xd0) and the play is skipped. The hold ends the moment the fall ends, and no resolver holds a one-shot after it.

Addresses: 0x5fd8b0, 0x5fd8e8, 0x5fd8ee, 0x5fd8f3, 0x5fd8fe, 0x5fd901, 0x5fd906, 0x5fd914, 0x5fd919, 0x5fd926, 0x5fd9e0, 0x5fda03, 0x5fda08, 0x5fda0d Confidence: verified Proof: one Test: none

0x5fd8b0 runs the first two resolvers, then tests the unit's own mover flags +0x9e8: falling (0x2000) with far falling (0x4000) holds (0x5fd8ee, 0x5fd8f3). Else it reads the active mover (+0x118): with falling clear (0x5fd901) the resolvers 0x5fd100 onward run (0x5fd926); with falling set the fall velocity at +0xa0 is compared with 0.0 (0x5fd906), and only an exact 0 (0x5fd914) lets them run, a nonzero value or NaN holds with 208 (0x5fd919). 0x5fd9e0 skips 0x5fe2f0 for 208 (0x5fda08). The resolvers after the gate end at the pending request +0xd64, then the idle; none tests a sequence still running.

The shuffle gate

A unit turning on the spot shuffles (animation 11 left, 12 right) only when 0x5fce30 allows it. The display-facing step starts a shuffle and can never end one: a shuffle ends when its sequence does, and the next pick claims it again while the unit still turns.

Addresses: 0x5fce30, 0x5fce33, 0x5fce42, 0x5fce5d, 0x5fce79, 0x5fce84, 0x5fce8d, 0x5fce98, 0x5fcea3, 0x5fceac, 0x5fce47, 0x5fd3f6, 0x5fd72c, 0x6084d3, 0x6084da, 0x5fdb50 Confidence: verified Proof: one Test: none

The gate returns 0 unless the mover flags have 0x30 (turn left or right) or +0xd58 has 0x800 or 0x1000 (0x5fce33, 0x5fce42). It also returns 0 when the mover flags have 0x40200800 (0x5fce5d), when a spline whose flags +0x18 lack 0x4 has 0x200 (0x5fce47), when the animation playing (0x5fdb50) is an emote, a spell cast, a thrown, bow or rifle animation (0x5fce79 to 0x5fcea3) and when +0xd58 has 0x4 or 0x8 (0x5fceac). Its callers are 0x5fd3f6, 0x5fd72c and the facing step (0x6084d3). At 0x6084da the step recomputes the base animation only when the gate allows it, and it clears 0x800 and 0x1000 before the call, so the frame the turn settles the gate returns 0 and nothing recomputes.

Playing an animation

0x5fe2f0(anim) plays an animation on the body, the upper body or the mount. An unloaded model keeps it pending at +0xd64. A dead unit, or one with bit 0x2000, takes only death animations; bits 0x40000 and 0x80000 (a lift-off, landing or knockdown) refuse it. Special1H and Special2H become the unarmed or two-handed form. A swing over a swing restarts only the upper body. Moving animations scale their speed to the mover's. The tracks then play through 0x5fdba0, and the sheathe state follows the new animation.

Addresses: 0x5fe2f0, 0x5fe3bc, 0x5fe3e9, 0x5fe43c, 0x5fe48e, 0x5fe526, 0x5fe6c8, 0x5feab5, 0x5febe8, 0x5fec0d, 0x5fe1f0, 0x5fdb50, 0x5fdba0, 0x5fdd7c, 0x5fdd90, 0x5fde80, 0x5fdf80, 0x60f5b0 Confidence: verified Proof: one Test: none

0x5fe3bc turns 57 and 58 into 118 without weapons, else 58 for a two-hander (0x5fc390), else 57. 0x5fe1f0 reads the mount, body and key-bone (+0xd5c) track states; 0x5fdb50 returns the key bone's animation, else the body's. With bit 0x20 and a swing over a swing (0x5fe43c) it calls 0x712910 on the key bone and stores the swing at +0xd60. A locomotion animation's speed is the mover's speed over the sequence's (0x5fe526). The split between upper body and full body rests on the sets of the next entry. 0x5fde80 lets an effect on +0xb4 with flag 0x1000 force its animation, or one with flag 0x4 freeze the tracks. 0x5fdba0 plays a track and sets +0xd58 bits through 0x5fdd90: 39 bit 0x4, 121 0x80000, 127 0x8, 192 and 200 0x40000. 0x5fdf80 reads the animation's AnimationData row: 0x4 of its +0x8 puts the weapons away, 0x20 or a swing while attacking draws them, and 112 nocks the ammunition. 0x60f5b0 tests 0x80 of the row's +0xc.

Mounted animation

A mounted unit's body holds Mount (91) as its base animation for as long as the mount model exists, and a requested animation splits by its set. 0x607a00 arms Mount on the body when the mount is made. In 0x5fe2f0, a mount model at +0xdc takes the branch at 0x5fe7b5: a full-body animation (0x5fec80) is armed on the mount model, an upper-body animation (0x5fed90) on the body's key bone, and the body's base track is set to 91 at 0x5fe809, unless it already plays it. A cast clip such as SpellCastOmni (54) is upper-body, so it plays as a torso overlay on the Mount pose and never reaches the mount.

Addresses: 0x607a00, 0x607b40, 0x607b44, 0x5fe2f0, 0x5fe7b5, 0x5fe809, 0x5feb90, 0x5febcb, 0x5febea, 0x5fec06, 0x5fec80, 0x5fed90, 0x5fd260, 0x5fd26e, 0x7121a0, 0x5fdba0, 0x5fdcdb, 0x5fdceb Confidence: verified Proof: one Test: none

0x607b40 pushes 0x5b and 0x607b44 calls PlayAnimation on +0xd8 with key bone -1. The full-body set is 33 ids: 0, 1, 3 to 6, 8 to 13, 37 to 45, 92 to 95, 119, 120, 127, 131, 132, 135, 143 and 187; the upper-body set holds 95 ids from 2 to 195, including 54 and 123 (UseStandingLoop) and not 91. 0x5feb90 tests the mount model again: unless the mount track is -1 or equals the animation it last played, 0x5febcb plays it on the mount model. The key-bone track and the forced base track are committed through 0x5fdba0 at 0x5febea and 0x5fec06; it plays on the body model +0xd8 (0x5fdceb), on the key bone +0xd5c for the first and bone -1 for the second, and plays nothing for a key-bone track when the model has no key bone (0x5fdccd). Base-animation legs that need an unmounted body, such as the loot kneel (0x5fd26e), decline when +0xdc is set; no resolver returns 91.

The ranged shot cycle

A ranged shot's attack animation ends in the default branch of 0x5fc3f0, which re-picks the base animation. A drawn ranged weapon (+0xd40 equal to 2, bit 0x200 of +0xd58) makes 0x5fd460 claim the pick with the load animation of the weapon's item subclass: 105 for a bow, 106 for a gun or crossbow, 112 for a thrown weapon, 111 for a wand, else 25. The end of 105 plays 109 and the end of 106 plays 110; the ends of 109, 110, 111 and 112 replay 109, 110 or 111 while the unit has a ranged model (+0xd24) and is channelling or holds the auto-repeat bits, else re-pick.

Addresses: 0x5fc3f0, 0x5fc45a, 0x5fc5bc, 0x5fc5e9, 0x5fc601, 0x5fc62e, 0x5fc646, 0x5fc673, 0x5fd460, 0x5fd48f, 0x5fd4fe, 0x5fd508 Confidence: verified Proof: one Test: none

The attack ids 46, 49 and 107 have the default case of the index table at 0x5fc848 (0x5fc45a, UpdateBaseAnimation(-1)); 105 and 106 are cases 11 and 12 of the jump table at 0x5fc7ec, which push 0x6d and 0x6e (0x5fc5e9, 0x5fc62e). The cases of 109 (0x5fc5bc), 110 (0x5fc601) and 111 and 112 (0x5fc646) need +0xd24, then the channel field ([fields+0x228]) or bit 0x600, 0x400 and 0x400 of +0xd58, and push 0x6d, 0x6e and 0x6f. 0x5fd460 starts by testing +0xd40 and bit 0x200; 0x5fd48f loads the hand 2 item record, its class byte 2, and maps subclass − 2 through a byte table (0x5fd530) and the jump table at 0x5fd51c to the stores of 0x69, 0x6a, 0x70, 0x6f; 0x5fd4fe leaves 25.

Animation rate

0x5fe2f0 gives a moving animation a playback rate: the unit's current speed over what the model's sequence covers at its size. The rate starts at 1.0 and stays there unless the requested id is one of the 15 move animations and the divisor is above zero. The divisor is the length of the first row of the model's base matrix, √(m00² + m01² + m02²), times the sequence's move speed, read from the mount model when there is one, else the body.

Addresses: 0x5fe2f0, 0x5fe4be, 0x5fe50a, 0x5fe515, 0x5fe520, 0x5fe528, 0x5fe53c, 0x5fe541, 0x5fe54d, 0x5fe685, 0x5fee80, 0x711a20, 0x7c4c90 Confidence: verified Proof: one Test: none

0x5fe4be seeds 1.0. 0x5fe50a calls CM2Model::GetSequenceInfo(id, 0) on the model of the +0xdc else +0xd8; its record's +0x8 is the first-row length times the resolved sequence's +0xc. 0x5fe515 and 0x5fe520 skip the rate for a divisor that is zero, below zero or not a number; 0x5fe528 skips it for an id outside the move set. 0x5fe53c takes GetCurrentSpeed(movement, 0) and 0x5fe541 divides; 0x5fe54d stores the rate even when the sequence length is 0. 0x5fe685 hands the rate to the animation descriptor. The base matrix is set from +0x90 · +0x94 and +0x98 (+0x9c mounted), so a scaled unit's rate carries its scale (objectbase).

Animation sets

Byte-table switches and comparisons sort animations into the sets the player and the resolvers test. Each table switch's dword table has two cases, the set's and the rest.

functionset
0x5fcbb0spell casts 2, 32, 33, 53, 54
0x5fcc10swings, parries, blocks, dodges: 22 ids from 10 to 118
0x5fced0emotes: 31 ids from 60 to 195
0x5fda90death: 1, 6, 131, 132
0x5fe180ranged attack and load: 46, 49, 105 to 107, 109 to 112
0x5fec80full-body base: 33 ids, stand to JumpLandRun
0x5fed90upper-body: 95 ids from 2 to 195
0x5fee80moving: 15 ids, walk to JumpLandRun
0x60b6e0unarmed: 16, 20, 25, 117, 118

Addresses: 0x5fcbb0, 0x5fcbd0, 0x5fcbd8, 0x5fcc10, 0x5fcc30, 0x5fcc38, 0x5fced0, 0x5fcef4, 0x5fcefc, 0x5fda90, 0x5fdabc, 0x5fdac4, 0x5fe180, 0x5fe1a0, 0x5fe1a8, 0x5fec80, 0x5feca0, 0x5feca8, 0x5fed90, 0x5fedb4, 0x5fedbc, 0x5fee80, 0x5feea4, 0x5feeac, 0x60b6e0, 0x60b700, 0x60b708, 0x5fccb0, 0x5fcf90, 0x5fcfb0, 0x5fcfd0, 0x5fde40, 0x5fde60, 0x5fec40, 0x5fec60, 0x5fed70, 0x5fc390, 0x5fc3c8, 0x5fc3d0, 0x60a710 Confidence: verified Proof: one Test: none

Each byte table maps the id minus its base (2, 10, 60, 1, 46, 0, 2, 4, 16) to the case that returns 1 or 0; the membership above is every id whose byte names the returning case. The comparison sets: 0x5fccb0 casts plus 46, 49, 107; 0x5fcf90 107, 111, 112; 0x5fcfb0 46, 105, 109; 0x5fcfd0 49, 106, 110; 0x5fde40 51, 52; 0x5fde60 25 to 29; 0x5fec40 39, 187; 0x5fec60 57, 58, 118; 0x5fed70 37 to 39, 187. 0x5fc390 tests weapon subclasses 1, 5, 6, 8, 10, 12, 17, 20 through 0x5fc3d0; 0x60a710 subclasses 2, 16, 18.

When a sequence ends

The model calls 0x5fc920 through 0x6078d0 when a sequence ends or fires its end event. A death stamps the time of death and adds the loot sparkle; a finished cast releases missiles; a lift-off, landing or knockdown clears its lock. A finished full-body sequence plays its follow-on through 0x5fc3f0: the loop after its start, the stand-up after a sit or kneel, or a fresh base pick.

Addresses: 0x5fc920, 0x5fcb40, 0x5fcb50, 0x5fc3f0, 0x5fc7ec, 0x5fc848, 0x607800, 0x6078d0 Confidence: verified Proof: one Test: none

0x5fc920 stamps +0xcb4 for 1 and 131, calls 0x60c9b0 for casts and shots with missiles on +0xac, clears 0x40000 for 192 and 200 and 0x80000 for 121. Its event branch switches through 0x5fcb50: 39 clears bit 4, 89 and 90 finish the sheathe, 127 clears bit 8. A bone track's end continues a sheathe on bone 3 or 2 or stops the track. A body track's end clears 0x70, sets 0x10 (mount) or 0x40, restores the sheathe after an emote queue, calls 0x5fc3f0 through 0x5fc848 into 0x5fc7ec, and sets 0x70 again: 1 and 131 hold 6 or 132 while dead; 37, 38 give 38; 40 gives 40; 50 gives 188, which repeats while looting; 69 repeats out of combat; sits, sleeps and kneels loop while the stand state holds and stand up or re-pick otherwise; loads give holds; 133 starts the fishing bobber and 134; 201 gives 202; the rest re-pick. 0x607800 installs the done and event callbacks with the GUID.

Model events

A sequence's events reach 0x5ffbd0 through 0x607840, keyed by four-character tags. Footstep tags, two letters and a digit ($FL0, $WR3), leave footprints and splashes; $FD1 to $FD9 and $TRD play foley; $SHL and $SHR move a weapon between hand and sheath; $CSL, $CSR and $CST launch spell missiles; an unknown tag prints UNHANDLEDANIMEVENT|%.4s.

Addresses: 0x5ffbd0, 0x607840, 0x5fbf70, 0x607920, 0x5ffb10, 0x5fc310, 0x6002eb Confidence: verified Proof: one Test: objectlayer::weapon_attach_offset_difftest, objectlayer::diff_transform_scale_copy, objectlayer::uh_placement_dist2_difftest, objectlayer::uh_placement_inner_range_difftest, objectlayer::uh_placement_ground_z_difftest, objectlayer::uh_placement_height_gate_difftest

The tags are dwords compared in a binary search from 0x5ffbec; the miss path is 0x6002eb. 0x5fbf70 skips a hovering, stealthed or ghost unit and one farther than 50 yards from the camera (0x80c5b4, 2500 squared); it prints a footprint, adds the model's footstep shake (+0x2c of the CreatureModelData row) and, within 25 yards (0x80c5b0) and with showfootprintparticles on, sprays. The print's sizes come from 0x607920: the mount's +0xcc0 and scaled +0xcc4, +0xcc8 when mounted, else +0xc5c, +0xc64, +0xc68, which 0x5fc310 copies from the CreatureModelData row. 0x5ffb10(hand, bit) takes the hand's item and the sheathe state before or after the change by +0xd58, re-attaches the weapon and plays the sheathe sound 0x458530. 0x607840 drops events whose position is not a number. Slices: uh_placement_dist2_difftest 0x5fbfdb-0x5fc015; uh_placement_inner_range_difftest 0x5fc0b3-0x5fc0c1; uh_placement_ground_z_difftest 0x5fc157-0x5fc197; uh_placement_height_gate_difftest 0x5fc157-0x5fc172.

Event points

The dispatcher 0x5ffbd0 reads an event's tag at [ebx+0x8], its data at [ebx+0xc] and its world point at [ebx+0x10]. The footprint tags ($BR0 to $WL3), the terrain footstep of $FSD, $ESD, the connecting swing of $CSS, $SHL, $SHR and the missile tags $CST, $CSL and $CSR use that point. $TRD plays at the unit's position plus 1.0 in z, and the foley of $FSD and the sounds of $FD1 to $FD9 at its position plus 2.0. $CSD carries the data as a voice id and plays at attachment 17, and a missed $CSS plays at attachment 1. $BTH and $DTH take no point.

Addresses: 0x5ffbd0, 0x5ffc82, 0x5ffe32, 0x5fff44, 0x5fff5a, 0x5fffca, 0x600139, 0x5ffeca, 0x5ffeed, 0x5fffad, 0x5fbf70, 0x623390, 0x6239f0, 0x62faa0, 0x623c10, 0x623b90, 0x60c940 Confidence: verified Proof: one Test: none

The arms load [ebx+0x10] at 0x5ffc82, 0x5ffe32 (the $.R and $.L footprints, passed to 0x5fbf70), 0x5fff44 (0x623390), 0x5fff5a (0x6239f0), 0x5fffca and 0x600143 (0x60c940). The $TRD arm 0x5ffeca tests the player type bit and calls 0x62faa0, which adds 1.0 to GetPosition (slot 5, fadd of the float 1.0); the arm at 0x5ffeed passes [ebx+0xc] to 0x623c10, which calls 0x623b90(17), the attachment's position or the unit's plus the table height. The $FD sounds add 2.0 (sounds). The model queue computes the point once for an event (models/animation), so every arm that reads it sees the same value.

Emotes

0x5fcd20 plays an Emotes.dbc row's animation unless it is already playing, the unit channels or precasts, or, except for 192 and 200, it fights. Talk emotes come from five rows chosen at start-up by flag. An emote queue at +0xc20 holds up to four timed emotes, each started 500 ms after the previous one ends.

Addresses: 0x5fcd20, 0x603a60, 0x60bb30, 0x60bb80, 0x60bbc0, 0x60bcb0, 0x60bce0, 0x60b570, 0x5fd680 Confidence: verified Proof: one Test: none

0x603a60 fills 0xc4d95c with the rows flagged 0x8, 0x10, 0x20, 0x40 and 0x100: talk, question, exclamation, shout and laugh. 0x60bb30(kind) plays one unless the unit swims or sleeps. 0x60bbc0(pairs, count) keeps the rows 0x60bcb0 allows (no special procedure), adds the current time to the first delay and, when an emote animates, keeps the sheathe state to restore. 0x60bce0 plays a due slot and delays the next by the sequence length plus 500; the last sets bit 0x8000 and +0xc24 −1. 0x60bb80 passes a list's two words. 0x60b570 re-picks when UNIT_NPC_EMOTESTATE changes. 0x5fd680 is true for a moving unit with no overriding state.

Drawing and sheathing

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.

Addresses: 0x611cf0, 0x611770, 0x611b60, 0x6118a0, 0x611960, 0x611a20, 0x604c70, 0x5fdf80 Confidence: verified Proof: one Test: none

0x611cf0 refuses 2 to a player whose class (UNIT_FIELD_BYTES_0 byte 1) has no ChrClasses row or a nonzero +0x40: Paladin, Shaman, Druid. 0x611770 re-attaches through 0x60b590 and 0x611e10, and on putting a ranged weapon away detaches attachment 35, removes the outfit slot 11 and stops an auto-move. 0x611b60 starts from the old state. 0x6118a0 (main hand, bone 3, bit 0x100000), 0x611960 (off hand, bone 2, bit 0x200000) and 0x611a20 (both, 0x300000) play 90 HipSheath for sheath types 3 and 7 (1 << type & 0x88), else 89 Sheath. 0x604c70 applies UNIT_FIELD_BYTES_2 byte 0, the server's sheathe state, through 0x611cf0(state,1,0).

Reactions and move animations

Hits, parries, deaths and move messages play one-shot animations. A wound plays 10 for a critical hit, 9 while attacking, else 8, upper body only when moving. A parry plays by weapon type. A death plays 1, or 131 swimming. Move messages start the jump, the fall, or a re-pick.

Addresses: 0x60ea70, 0x60ec00, 0x60ec84, 0x60ec98, 0x60ea30, 0x60e480, 0x60e520, 0x60e534, 0x602c40, 0x608d50 Confidence: verified Proof: one Test: none

0x60ea70(critical) skips a dead or feigning unit, an unloaded model, a creature whose type flags have 0x8 (0x6125f0) and one with a flag-4 effect, and plays only when the model has the sequence. 0x60ec00 maps the main-hand subclass through 0x60ec98 into 0x60ec84: one-handers 21, two-handers 22, polearms and staves 23, fist weapons 20, bows, guns and thrown none. 0x60ea30 skips a unit already in a death animation. 0x60e480(opcode) switches 0xb5 to 0xcb through 0x60e534: starts end the ranged pose and re-pick, 0xbb plays 37 JumpStart, stops and turns re-pick; 0xf0 plays 40 Fall. 0x602c40 plays 40 for a falling unit with health. Slot 18 0x608d50 plays 94 MountSpecial.