benilla-re systems structs docs

CMovement::SetTurnRateNow

function · collision · orchestration

Address
0x6197f0 · 16 bytes, up to 0x6197ff
Signature
uint32_t __thiscall (CMovement *this, float value)
Meaning
Sets the turn rate at +0x9c at once through its setter
Confidence
verified, proof one
Finding
collision/handlers#speed-changes

Finding: Speed changes in collision: handlers

Six speeds have four handlers each, differing only in tag and setter. Forced: 0x6176a0(time, tag, 1, counter, speed, 0). Own relay: 0x6176a0(time, tag, 0, 0, speed, 0). Spline: the setter at once. Relay: 0x618f20(eventTime, status, tag, speed), then the setter when that applied, returning the setter's result, else 0. A setter returns 0 and stores nothing when |new − old| < 2⁻²² (NaN stores); otherwise it stores, re-anchors (0x7c5cd0), updates the current speed (0x7c5c20) except for the turn rate, and returns 1. The opcode reaching each handler is in brackets; both relay forms take the same opcode, the switch choosing by the sender's GUID.

speedfield, tagsetterforcedsplineown relayrelay
run+0x8c, 0x140x7c70300x619500 (0xe2)0x619520 (0x2fe)0x6195300x619550 (0xcd)
run back+0x90, 0x150x7c70800x619590 (0xe4)0x6195b0 (0x2ff)0x6195c00x6195e0 (0xcf)
walk+0x88, 0x160x7c70d00x619620 (0x2da)0x619640 (0x301)0x6196500x619670 (0xd1)
swim+0x94, 0x170x7c71200x6196b0 (0xe6)0x6196d0 (0x300)0x6196e00x619700 (0xd3)
swim back+0x98, 0x180x7c71700x619740 (0x2dc)0x619760 (0x302)0x6197700x619790 (0xd5)
turn rate+0x9c, 0x190x7c6ff00x6197d0 (0x2de)0x6197f0 (0x303)0x6198000x619820 (0xd8)

The derivation is in the doc.

Callers 1

Callees 1

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