benilla-re systems structs docs

FrameScriptSetNumberGlobal

function · ui · orchestration

Address
0x704250 · 69 bytes, up to 0x704294
Signature
void __fastcall (const char *name, float value)
Meaning
Sets a global to a single-precision float
Confidence
verified, proof one
Finding
ui/script#reading-and-writing-globals

Finding: Reading and writing globals in ui: the script layer and events

The client reads and writes globals through small helpers, each on the current state with lua_gettable and lua_settable on the globals: 0x704250 sets a global to a single-precision float, 0x704300 to a string or, for a null or empty one, nil, and 0x704350 reads one as text when it is a string or number, answering whether it is one. 0x7040e0 raises a Lua error with a formatted message prefixed by the calling position, as luaL_error does. The four other helpers are unreached (README): the integer set 0x7041a0 and get 0x7041f0, the float get 0x7042a0 and the nil set 0x7043b0.

The derivation is in the doc.

Callers 1

Callees 5

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