BeginCinematic
function · ui · primitive
- Address
0x48ecd0· 149 bytes, up to0x48ed64- Meaning
- Starts a cinematic sequence, hiding the cursor and scheduling its first shot
- Confidence
- verified, proof one
- Finding
- uicamera/cinematic#starting-a-sequence
Finding: Starting a sequence in uicamera: the in-engine cinematic
0x48ecd0(id) starts the sequence with the row id of CinematicSequences.dbc. It zeroes the six words from
0xb4e264: the row, the sequence sound, the shot index, the shot row, the narration sound and the music flag. An id
outside the table leaves the row null. The row's sound (+0x04) plays unless the CVar EnableMusic exists and is 0. The first shot is
the CinematicCamera.dbc row named at +0x08. The music is paused unless it already was. The in-cinematic word 0xb4e310 becomes 1, the hardware cursor
is hidden with 0x58b590(0), and when the active player resolves 0x48edd0 is scheduled after 0.25 seconds.
The derivation is in the doc.
Callers 2
- CGPlayer_C::OnActiveArrival objectlayer
- HandlePlayerNotice objectlayer
Callees 3
- PlaySoundLoop2DNoCategoryClear sound
- BeginCinematicUI ui
- CVar::Lookup cvar
Calls and jumps by a bare address, from tables/calls.tsv.