ScriptPcall
function · ui · orchestration
- Address
0x7032f0· 68 bytes, up to0x703333- Signature
int __fastcall (lua_State *L)- Meaning
- Serves pcall: calls argument 1 with the rest, answers a success boolean before its results
- Confidence
- verified, proof two
- Finding
- ui/luabase#protected-calls
Finding: Protected calls in ui: the Lua base library
pcall(f, ...) requires f, calls it with every other argument and keeps all its results, with no handler. It pushes
true for status 0 and false otherwise, inserts that at index 1 and returns every value on the stack.
xpcall(f, handler) requires the handler, leaves [handler, f], calls f with no arguments and the handler as error
function, pushes the boolean, replaces index 1 with it and returns the stack. After a failure the error value is the second result.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- lua_gettop lua
- lua_insert lua
- lua_pushboolean lua
- lua_pcall lua
- luaL_checkany lua
Calls and jumps by a bare address, from tables/calls.tsv.