benilla-re systems structs docs

CCamera::BeginBobDecay

function · uicamera · primitive

Address
0x511110 · 93 bytes, up to 0x51116c
Signature
void __thiscall (CCamera *this)
Meaning
Clears the bobbing bit and arms the decay of the bob offsets
Confidence
verified, proof one
Finding
uicamera/transitions#bob-decay
Test
ui::glue_511_511110_abs_div

Finding: Bob decay in uicamera: transitions

When bobbing stops, the bob offsets (+0x110 to +0x118) decay to 0. The duration is the largest offset divided by cameraBobbingSmoothSpeed, started at the stop time from the offsets as they were; the offsets then ease to 0 with the same cosine. Starting to bob sets mode bit 9 and the start time.

The derivation is in the doc.

Callers 1

Callees 2

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