{"name": "luaopen_io", "code": "__int64 __fastcall luaopen_io ( __int64 @@a1@@ ) { createmeta ( @@a1@@ ) ; newfenv ( @@a1@@ , ( __int64 ) io_fclose ) ; lua_replace ( @@a1@@ , Number L ) ; luaL_register ( @@a1@@ , String , & iolib ) ; newfenv ( @@a1@@ , ( __int64 ) io_noclose ) ; createstdfile ( @@a1@@ , ( __int64 ) stdin , Number , ( __int64 ) String ) ; createstdfile ( @@a1@@ , ( __int64 ) stdout , Number , ( __int64 ) String ) ; createstdfile ( @@a1@@ , ( __int64 ) stderr , Number , ( __int64 ) String ) ; lua_settop ( @@a1@@ , Number L ) ; lua_getfield ( @@a1@@ , Number , String ) ; newfenv ( @@a1@@ , ( __int64 ) io_pclose ) ; lua_setfenv ( @@a1@@ , Number L ) ; lua_settop ( @@a1@@ , Number L ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}
{"name": "io_noclose", "code": "__int64 __fastcall io_noclose ( __int64 @@a1@@ ) { lua_pushnil ( @@a1@@ ) ; lua_pushlstring ( @@a1@@ , String , Number L ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "io_pclose", "code": "__int64 __fastcall io_pclose ( __int64 @@a1@@ ) { * ( _QWORD * ) luaL_checkudata ( @@a1@@ , Number L , String ) = Number L ; return pushresult ( @@a1@@ , Number , Number L ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "io_fclose", "code": "__int64 __fastcall io_fclose ( __int64 @@a1@@ ) { int @@v1@@ ; FILE * * @@v3@@ ; @@v3@@ = ( FILE * * ) luaL_checkudata ( @@a1@@ , Number L , String ) ; @@v1@@ = fclose ( * @@v3@@ ) ; * @@v3@@ = Number L ; return pushresult ( @@a1@@ , @@v1@@ == Number , Number L ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v3", "t": {"T": 3, "t": "FILE *"}, "location": "s8"}]} {"name": "createmeta", "code": "__int64 __fastcall createmeta ( __int64 @@a1@@ ) { luaL_newmetatable ( @@a1@@ , String ) ; lua_pushvalue ( @@a1@@ , Number ) ; lua_setfield ( @@a1@@ , Number L , String ) ; return luaL_register ( @@a1@@ , Number L , & flib ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "createstdfile", "code": "__int64 __fastcall createstdfile ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ , __int64 @@a4@@ ) { * newfile ( @@a1@@ ) = @@a2@@ ; if ( @@a3@@ > Number ) { lua_pushvalue ( @@a1@@ , Number ) ; lua_rawseti ( @@a1@@ , Number L , ( unsigned int ) @@a3@@ ) ; } lua_pushvalue ( @@a1@@ , Number L ) ; lua_setfenv ( @@a1@@ , Number L ) ; return lua_setfield ( @@a1@@ , Number L , @@a4@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} {"name": "newfenv", "code": "__int64 __fastcall newfenv ( __int64 @@a1@@ , __int64 @@a2@@ ) { lua_createtable ( @@a1@@ , Number L , Number L ) ; lua_pushcclosure ( @@a1@@ , @@a2@@ , Number L ) ; return lua_setfield ( @@a1@@ , Number L , String ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}