benilla-re systems structs docs

CCamera::RestartShot

function · uicamera · orchestration

Address
0x50ca10 · 54 bytes, up to 0x50ca45
Signature
void __thiscall (CCamera *this)
Meaning
Resets the scene clock and restarts the shot's animation
Confidence
verified, proof one
Finding
uicamera/cinematic#playing-a-shot

Finding: Playing a shot in uicamera: the in-engine cinematic

0x48edf0 starts the shot named by the shot row. It calls 0x50c870 with the model path (+0x04), the origin (+0x0c to +0x14), the facing (+0x18) and the completion callback 0x48efc0, and fails when the model does not load. When the old camera position lies farther than 30 yards from the shot's eye it asks the world to prepare that area with 0x66fc80. It then restarts the camera's scene clock with 0x50ca10 and plays the shot's own sound (+0x08) into 0xb4e274.

The derivation is in the doc.

Callers 1

Callees 4

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