benilla-re systems structs docs

CCamera::ReleaseShot

function · uicamera · primitive

Address
0x50ca50 · 53 bytes, up to 0x50ca84
Signature
void __thiscall (CCamera *this)
Meaning
Closes the shot camera and releases the shot model
Confidence
verified, proof one
Finding
uicamera/cinematic#stepping-and-ending

Finding: Stepping and ending in uicamera: the in-engine cinematic

When a shot's animation finishes, 0x48efc0 schedules 0x48efe0 after 0.25 seconds. 0x48efe0 stops the narration, adds 1 to the shot index and, below 8, plays the shot whose camera id is at +0x08 + 4 * index; with none left it ends the cinematic. 0x48f050 skips: it stops the narration and schedules the end. 0x48f080 ends it: it signals event 371 (CINEMATIC_STOP), prepares the area under the camera's target when the camera is over 30 yards from it, releases the shot, stops the sounds, restores the music, shows the cursor, clears the word and rejoins the zone chat channels when the player is not a ghost.

The derivation is in the doc.

Callers 4

Callees 2

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