benilla-re systems structs docs

CGWorldFrame::EmitLayer

function · ui · orchestration

Address
0x482d40 · 45 bytes, up to 0x482d6c
Signature
void __thiscall (CGWorldFrame *this, void *batch, int layer)
Meaning
Emits the frame's regions and, for layer 0, registers the world render callback
Confidence
verified, proof one
Finding
ui/worldframe#drawing-the-world

Finding: Drawing the world in ui: the world frame as a widget

The 3D world is drawn by a callback the frame registers on its layer 0 batch, in the same walk that draws every other frame, below all of them. The frame's emit draws its own regions and, for layer 0 only, registers 0x482d70, which pushes identity matrices, runs the per-frame world driver 0x482ea0, the scene render 0x483460 and the combat text pass 0x6c7900, and pops them.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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