benilla-re systems structs docs

ScriptType

function · ui · orchestration

Address
0x702df0 · 50 bytes, up to 0x702e21
Signature
int __fastcall (lua_State *L)
Meaning
Serves type: answers the type name of argument 1
Confidence
verified, proof two
Finding
ui/luabase#type-and-tostring

Finding: Type and tostring in ui: the Lua base library

type(v) requires an argument and answers the name of its tag: nil, boolean, userdata, number, string, table, function, userdata for tag 7 and thread; an absent index would answer no value. tostring(v) answers the metatable's __tostring result when there is one; otherwise a number as its text, a string as itself, nil, true or false, and for the rest table: %p, function: %p, userdata: %p (also for a light userdata) or thread: %p with the object's address.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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