{"name": "print_error", "code": "__int64 __fastcall print_error ( __int64 @@a1@@ , FILE * @@a2@@ ) { const char * @@v2@@ ; duk_safe_call ( @@a1@@ , get_stack_raw , Number L , Number L ) ; @@v2@@ = ( const char * ) duk_safe_to_lstring ( @@a1@@ , Number , Number L ) ; fprintf ( @@a2@@ , String , @@v2@@ ) ; fflush ( @@a2@@ ) ; return duk_pop ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "FILE"}, "location": "r64"}, {"n": "v2", "t": {"T": 3, "t": "const char"}, "location": "r8"}]}
{"name": "get_stack_raw", "code": "__int64 __fastcall get_stack_raw ( __int64 @@a1@@ ) { if ( ! ( unsigned int ) duk_is_object ( @@a1@@ , Number ) ) return Number L ; if ( ( unsigned int ) duk_has_prop_string ( @@a1@@ , Number , String ) ) { duk_get_prop_string ( @@a1@@ , Number , String ) ; duk_remove ( @@a1@@ , Number L ) ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "handle_fh", "code": "__int64 __fastcall handle_fh ( __int64 @@a1@@ , FILE * @@a2@@ , const char * @@a3@@ ) { __int64 @@size@@ ; _BYTE * @@ptr@@ ; unsigned int @@v7@@ ; size_t @@v8@@ ; _BYTE * @@v9@@ ; @@v7@@ = Number ; if ( fseek ( @@a2@@ , Number L , Number ) < Number ) goto LABEL_14 ; @@size@@ = ftell ( @@a2@@ ) ; if ( fseek ( @@a2@@ , Number L , Number ) < Number ) goto LABEL_14 ; @@ptr@@ = malloc ( @@size@@ ) ; if ( ! @@ptr@@ ) goto LABEL_14 ; @@v8@@ = fread ( @@ptr@@ , Number , @@size@@ , @@a2@@ ) ; @@v9@@ = @@ptr@@ ; if ( * @@ptr@@ == Number && @@ptr@@ [ Number ] == Number ) { while ( @@v8@@ && * @@v9@@ != Number ) { -- @@v8@@ ; ++ @@v9@@ ; } } duk_push_lstring ( @@a1@@ , @@v9@@ , @@v8@@ ) ; duk_push_string ( @@a1@@ , @@a3@@ ) ; free ( @@ptr@@ ) ; if ( ( unsigned int ) duk_safe_call ( @@a1@@ , wrapped_compile_execute , Number L , Number L ) ) { print_error ( @@a1@@ , stderr ) ; LABEL_14 : fprintf ( stderr , String , @@a3@@ ) ; fflush ( stderr ) ; return @@v7@@ ; } duk_pop ( @@a1@@ ) ; return Number ; }", "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": 3, "t": "FILE"}, "location": "r64"}, {"n": "v8", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "ptr", "t": {"T": 3, "t": "_BYTE"}, "location": "s32"}, {"n": "size", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v9", "t": {"T": 3, "t": "_BYTE"}, "location": "s8"}]} {"name": "handle_interactive", "code": "__int64 __fastcall handle_interactive ( __int64 @@a1@@ ) { char * @@ptr@@ ; void * @@v4@@ ; const char * @@v5@@ ; unsigned int @@i@@ ; unsigned int @@v7@@ ; @@v5@@ = String ; @@v7@@ = Number ; rl_initialize ( ) ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { asprintf ( & @@ptr@@ , String , @@i@@ , @@v5@@ ) ; @@v4@@ = ( void * ) readline ( @@ptr@@ ) ; if ( ! @@v4@@ && ! * ( _BYTE * ) init_default_objects ) break ; if ( * ( _BYTE * ) @@v4@@ ) add_history ( @@v4@@ ) ; duk_push_string ( @@a1@@ , @@v4@@ ) ; free ( @@v4@@ ) ; @@v4@@ = Number L ; duk_push_string ( @@a1@@ , @@ptr@@ ) ; free ( @@ptr@@ ) ; interactive_mode = Number ; if ( ( unsigned int ) duk_safe_call ( @@a1@@ , wrapped_compile_execute , Number L , Number L ) ) { print_error ( @@a1@@ , stdout ) ; @@v7@@ = Number ; } else { duk_pop ( @@a1@@ ) ; } } return @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v5", "t": {"T": 3, "t": "const char"}, "location": "s16"}, {"n": "v4", "t": {"T": 3, "t": "void"}, "location": "s24"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "ptr", "t": {"T": 3, "t": "char"}, "location": "s40"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]}