PlayCinematicShot
function · ui · primitive
- Address
0x48edf0· 423 bytes, up to0x48ef96- Meaning
- Plays the shot in the shot row through the camera object
- Confidence
- verified, proof one
- Finding
- uicamera/cinematic#playing-a-shot
- Test
ui::dist2_48edf0
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 2
Callees 14
- CDataStore::PutUInt32 base
- 0x442190 unassigned
- AsyncFileReadWaitAll client
- PlaySoundKept sound
- GetActiveCamera ui
- 0x48efa0 ui
- ReverseScreenFade ui
- CCamera::LoadShot uicamera
- CCamera::RestartShot uicamera
- ClientServices::Send net
- RefreshAllNodes objectlayer
- CWorld::UnloadAreas terrain
- CM2Model::GetCamera models
- GetVectorProperty camera
Calls and jumps by a bare address, from tables/calls.tsv.