FrameScript::GetVariable
function · ui · orchestration
- Address
0x704350· 84 bytes, up to0x7043a3- Signature
int __fastcall (const char *name, const char **out)- Meaning
- Reads a global as text when it is a string or number and answers whether it is one
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 2
- PlayerNameInitialize playername
- FrameScript_GetText ui
Callees 6
- lua_settop lua
- lua_isstring lua
- lua_tostring lua
- lua_pushstring lua
- lua_gettable lua
- FrameScript::GetContext ui
Calls and jumps by a bare address, from tables/calls.tsv.