benilla-re systems structs docs

ScriptPairs

function · ui · orchestration

Address
0x702da0 · 67 bytes, up to 0x702de2
Signature
int __fastcall (lua_State *L)
Meaning
Serves pairs: answers the global next, the table and nil
Confidence
verified, proof two
Finding
ui/luabase#iteration

Finding: Iteration in ui: the Lua base library

next(t [, key]) requires a table and answers the key and value after key, or nil. pairs(t) requires a table and returns the global next, the table and nil. ipairs(t [, i]) called with one argument answers (ipairs, t, 0); with an index it adds 1.0, pushes the new index and t[__ftol(index)], and returns both when the element is not nil, nothing otherwise. unpack(t) requires a table, takes its length from 0x6f5050, raises table too big to unpack when the stack cannot grow by that count and pushes t[1] to t[n].

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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