{"name": "io_open", "code": "__int64 __fastcall io_open ( __int64 @@a1@@ ) { __int64 @@result@@ ; _QWORD * @@v2@@ ; char * @@modes@@ ; char * @@filename@@ ; @@filename@@ = ( char * ) luaL_checklstring ( @@a1@@ , Number L , Number L ) ; @@modes@@ = ( char * ) luaL_optlstring ( @@a1@@ , Number L , String , Number L ) ; @@v2@@ = newfile ( @@a1@@ ) ; * @@v2@@ = fopen ( @@filename@@ , @@modes@@ ) ; if ( * @@v2@@ ) @@result@@ = Number L ; else @@result@@ = pushresult ( @@a1@@ , Number , @@filename@@ ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "modes", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v2", "t": {"T": 3, "t": "_QWORD"}, "location": "s24"}, {"n": "filename", "t": {"T": 3, "t": "char"}, "location": "s8"}]}
{"name": "pushresult", "code": "__int64 __fastcall pushresult ( __int64 @@a1@@ , int @@a2@@ , const char * @@a3@@ ) { __int64 result ; char * v4 ; int @@errnum@@ ; @@errnum@@ = * _errno_location ( ) ; if ( @@a2@@ ) { lua_pushboolean ( @@a1@@ , Number L ) ; result = Number L ; } else { lua_pushnil ( @@a1@@ ) ; v4 = strerror ( @@errnum@@ ) ; if ( @@a3@@ ) lua_pushfstring ( @@a1@@ , String , @@a3@@ , v4 ) ; else lua_pushfstring ( @@a1@@ , String , v4 ) ; lua_pushinteger ( @@a1@@ , @@errnum@@ ) ; result = Number L ; } return result ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "errnum", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"name": "newfile", "code": "_QWORD * __fastcall newfile ( __int64 @@a1@@ ) { _QWORD * @@v2@@ ; @@v2@@ = ( _QWORD * ) lua_newuserdata ( @@a1@@ , Number L ) ; * @@v2@@ = Number L ; lua_getfield ( @@a1@@ , Number L , String ) ; lua_setmetatable ( @@a1@@ , Number L ) ; return @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}