benilla-re systems structs docs

SimpleHTML::SetText

function · ui · primitive

Address
0x796a90 · 161 bytes, up to 0x796b30
Signature
int __fastcall (lua_State *L)
Meaning
Implements the SimpleHTML method SetText, its pair in the table 0x87ba80
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/simplehtml#setting-the-text

Finding: Setting the text in ui: SimpleHTML

SetText first destroys the old blocks, then parses the text. The root must be HTML and the first child named BODY is walked; later BODY elements are ignored. Any other root or child reports Unknown element type. When the text does not parse, the root is not HTML, or no child is BODY, the whole raw text becomes one P block justified LEFT, with its whitespace and newlines kept. An empty BODY shows nothing. Names compare ignoring case.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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