benilla-re systems structs docs

CCamera::SetTrackFlag

function · uicamera · primitive

Address
0x511040 · 161 bytes, up to 0x5110e0
Signature
void __thiscall (CCamera *this, uint32_t externalBits)
Meaning
Sets or clears the Track bit from the external movement bits and re-arms
Confidence
verified, proof one
Finding
uicamera/follow#when-it-runs

Finding: When it runs in uicamera: following and the auto-return

The auto-return is armed on edges, never continuously. Five call sites reach 0x510960(input, stopping): the press and release handlers of the movement bindings (0x514a4d, 0x514d39), the track-flag setter 0x511040 (0x5110d7) and the external-move edge 0x5111f0 (0x511218, 0x51123c). The driver calls 0x5111f0 every frame with whether the character is moved from outside, but it acts only when that flag differs from the Fear bit (mode bit 12) it keeps. Once armed, the transitions play out by themselves.

The derivation is in the doc.

Callers 2

Callees 5

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