{"name": "new_mem2Dint", "code": "_QWORD * __fastcall new_mem2Dint ( int @@a1@@ , int @@a2@@ ) { _QWORD * @@v3@@ ; int @@i@@ ; @@v3@@ = mem_malloc ( Number L * @@a1@@ ) ; if ( ! @@v3@@ ) no_mem_exit ( String ) ; * @@v3@@ = mem_calloc ( @@a2@@ * @@a1@@ , Number L ) ; if ( ! * @@v3@@ ) no_mem_exit ( String ) ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ ; ++ @@i@@ ) @@v3@@ [ @@i@@ ] = Number L * @@a2@@ + @@v3@@ [ @@i@@ - Number ] ; return @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]}
{"name": "mem_malloc", "code": "void * __fastcall mem_malloc ( size_t @@a1@@ ) { void * @@v2@@ ; @@v2@@ = malloc ( @@a1@@ ) ; if ( @@v2@@ ) return @@v2@@ ; no_mem_exit ( String ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "void"}, "location": "s8"}]} {"name": "mem_calloc", "code": "void * __fastcall mem_calloc ( __int64 @@a1@@ , __int64 @@a2@@ ) { void * @@s@@ ; @@s@@ = mem_malloc ( @@a2@@ * @@a1@@ ) ; memset ( @@s@@ , Number , ( int ) @@a2@@ * ( int ) @@a1@@ ) ; return @@s@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "s", "t": {"T": 3, "t": "void"}, "location": "s16"}]} {"name": "new_mem2D", "code": "_QWORD * __fastcall new_mem2D ( int @@a1@@ , int @@a2@@ ) { _QWORD * @@v3@@ ; int @@i@@ ; @@v3@@ = mem_malloc ( Number L * @@a1@@ ) ; if ( ! @@v3@@ ) no_mem_exit ( String ) ; * @@v3@@ = mem_calloc ( @@a2@@ * @@a1@@ , Number L ) ; if ( ! * @@v3@@ ) no_mem_exit ( String ) ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ ; ++ @@i@@ ) @@v3@@ [ @@i@@ ] = @@v3@@ [ @@i@@ - Number ] + @@a2@@ ; return @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"name": "no_mem_exit", "code": "void __fastcall no_mem_exit ( const char * @@a1@@ ) { const char * @@v1@@ ; snprintf ( & errortext , Number , String , @@a1@@ ) ; error ( ( int ) & errortext , Number , @@v1@@ ) ; }", "source": [{"n": "v1", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}]}