SetClearColorDevice
function · gx · orchestration
- Address
0x58a920· 26 bytes, up to0x58a939- Signature
void __stdcall (uint32_t color)- Meaning
- Sets the device clear colour through the device's slot +0x64
- Confidence
- verified, proof one
- Finding
- ui/movieframe#starting-and-stopping
Finding: Starting and stopping in ui: the movie frame
StartMovie("name") needs a string (Usage: <frame>:StartMovie("filename")). It runs the file reader, the decoder start, the audio start and the subtitle load, sets the playing flag at +0x314, stops the frame pass presenting, sets the clear colour to black, clears, presents
(Presenting mid-frame) and clears again. It returns nil when the file reader or the decoder start fails and 1 otherwise: the audio start and the subtitle load results are ignored. StopMovie() ends a playing movie: it destroys the decoder, the audio and the captions, clears the playing and finished flags and runs
OnMovieFinished (+0x320). The movie also ends by itself at the last frame or when the audio ends. EnableSubtitles([flag]) stores the flag (true when absent) at +0x31c.
The derivation is in the doc.
Callers 7
- RedrawInteriorTarget ui
- BakePortrait ui
- AtlasPage::Dump font
- DrawWorldScene terrain
- BeginCurrentFfx ffxeffects
- AllocateTarget ffxeffects
- StartMoviePlayback ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.