benilla-re systems structs docs

CSimpleMessageScrollFrame::Emit

function · ui · orchestration

Address
0x7871c0 · 46 bytes, up to 0x7871ed
Signature
void __thiscall (CSimpleMessageScrollFrame *this, void *batch, uint32_t layer)
Meaning
Runs the frame's emit and, for layer 4, adds the draw callback 0x787220 to the batch
Confidence
verified, proof one
Finding
ui/messagemembers#scroll-frame-draw

Finding: Scroll frame draw in ui: message frame members

The scroll frame registers a draw callback for its layer 4: 0x7871c0 runs the frame's emit 0x76b3a0 and, for layer 4, BatchAddCallback with 0x787220. The callback computes the frame's projected rectangle, clamps its texture coordinates to 0 to 1 on each axis (a coordinate below 0 moves the other end down by the same amount and becomes 0; one above 1 moves the other end up and becomes 1) and draws between the matrices it pushes.

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.