benilla-re systems structs docs

CSimpleMessageScrollFrame::RebuildLinkButtons

function · ui · primitive

Address
0x788c00 · 394 bytes, up to 0x788d89
Meaning
Releases every link button of a message frame and builds one per hyperlink span of the shown lines
Confidence
verified, proof one
Finding
ui/hyperlinks#what-fills-the-pool

Finding: What fills the pool in ui: clickable links in message frames

The pool is rebuilt when a message frame is dirty. For a ScrollingMessageFrame the rebuild 0x788c00 runs in the per-frame update 0x788460 while [frame+0x3b8] is set; it releases every live button, then for each shown line asks the line's string for its hyperlink spans (0x5c27e0, 32 bytes a span) and configures one button per span. A SimpleHTML frame rebuilds with 0x78af70 under [frame+0x370]. A span is four floats of the rectangle, then the link pointer and length, then the shown text pointer and length; the font layer's escape reader writes them when it reads |H...|h.

The derivation is in the doc.

Callers 2

Callees 5

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