benilla-re systems structs docs

FrameScriptExecuteString

function · ui · orchestration

Address
0x704cd0 · 23 bytes, up to 0x704ce6
Meaning
Runs a string as a chunk of a name under the error handler
Confidence
verified, proof two
Finding
ui/script#text-counts-and-running-code

Finding: Text, counts and running code in ui: the script layer and events

FrameScript_GetText(key, count, gender) with no gender and a negative count answers the global key when it is a string or number, else ""; otherwise it calls the Lua function GetText with the key, the gender or nil and the count or nil, under the error handler, and answers its string result or "". 0x703cf0(count) calls GetPluralIndex(count) and answers the result truncated minus one, or 0 on an error or a non-number. 0x704cd0 runs a string as a chunk under the error handler (framexml, Loading one file, for the runner); 0x704cf0 calls a function reference the same way, discarding an error after the handler.

The derivation is in the doc.

Callers 3

Callees 2

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