benilla-re systems structs docs

DrawMovie

function · ui · primitive

Address
0x78d1a0 · 924 bytes, up to 0x78d53b
Meaning
Draws the tile textures of the movie as quads over the window
Confidence
inferred
Finding
ui/movieframe#drawing

Finding: Drawing in ui: the movie frame

The frame adds a draw callback to its layer 2 batch (0x78d650 registers 0x78d680 for layer 2, ui/draworder#what-a-batch-drains). When it runs for a playing movie it advances the clock with 0x78cf30 and, when a frame is ready, draws the tile textures with 0x78d1a0: it saves the viewport, sets a full-window viewport and an orthographic projection, draws a quad per tile scaled by the screen aspect, and restores the viewport. It then presents (Presenting mid-frame).

The derivation is in the doc.

Callers 1

Callees 14

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