{"name": "get_mem2Dpel", "code": "__int64 __fastcall get_mem2Dpel ( void * * @@a1@@ , int @@a2@@ , int @@a3@@ ) { void * * @@v3@@ ; int @@i@@ ; * @@a1@@ = mem_malloc ( Number L * @@a2@@ ) ; if ( ! * @@a1@@ ) no_mem_exit ( String ) ; @@v3@@ = ( void * * ) * @@a1@@ ; * @@v3@@ = mem_malloc ( Number L * @@a3@@ * @@a2@@ ) ; if ( ! * @@v3@@ ) no_mem_exit ( String ) ; for ( @@i@@ = Number ; @@i@@ < @@a2@@ ; ++ @@i@@ ) * ( ( _QWORD * ) * @@a1@@ + @@i@@ ) = Number L * @@a3@@ + * ( ( _QWORD * ) * @@a1@@ + @@i@@ - Number ) ; return ( unsigned int ) ( Number * ( @@a3@@ + Number ) * @@a2@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "v3", "t": {"T": 3, "t": "void *"}, "location": "r32"}, {"n": "a1", "t": {"T": 3, "t": "void *"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}]}
{"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": "get_mem2Dpel_pad", "code": "__int64 __fastcall get_mem2Dpel_pad ( void * * @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ ) { void * * @@v5@@ ; int @@v9@@ ; int @@v10@@ ; __int64 @@v11@@ ; int @@i@@ ; @@v10@@ = Number * @@a4@@ + @@a2@@ ; @@v9@@ = Number * @@a5@@ + @@a3@@ ; * @@a1@@ = mem_malloc ( Number L * @@v10@@ ) ; if ( ! * @@a1@@ ) no_mem_exit ( String ) ; @@v5@@ = ( void * * ) * @@a1@@ ; * @@v5@@ = mem_calloc ( @@v9@@ * @@v10@@ , Number L ) ; if ( ! * @@v5@@ ) no_mem_exit ( String ) ; * ( _QWORD * ) * @@a1@@ += Number L * @@a5@@ ; @@v11@@ = * ( _QWORD * ) * @@a1@@ ; for ( @@i@@ = Number ; @@i@@ < @@v10@@ ; ++ @@i@@ ) { @@v11@@ += Number L * @@v9@@ ; * ( ( _QWORD * ) * @@a1@@ + @@i@@ ) = @@v11@@ ; } * @@a1@@ = ( char * ) * @@a1@@ + Number * @@a4@@ ; return ( unsigned int ) ( Number * ( @@v9@@ + Number ) * @@v10@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "v5", "t": {"T": 3, "t": "void *"}, "location": "r32"}, {"n": "a1", "t": {"T": 3, "t": "void *"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}]} {"name": "get_mem3Dpel", "code": "__int64 __fastcall get_mem3Dpel ( void * * * @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ ) { unsigned int @@v7@@ ; int @@i@@ ; * @@a1@@ = ( void * * ) malloc ( Number L * @@a2@@ ) ; if ( ! * @@a1@@ ) no_mem_exit ( String ) ; @@v7@@ = get_mem2Dpel ( * @@a1@@ , @@a3@@ * @@a2@@ , @@a4@@ ) + Number * @@a2@@ ; for ( @@i@@ = Number ; @@i@@ < @@a2@@ ; ++ @@i@@ ) ( * @@a1@@ ) [ @@i@@ ] = ( char * ) ( * @@a1@@ ) [ @@i@@ - Number ] + Number * @@a3@@ ; return @@v7@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "void **"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "get_mem3Dpel_pad", "code": "__int64 __fastcall get_mem3Dpel_pad ( void * * @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ , int @@a6@@ ) { unsigned int @@v11@@ ; int @@i@@ ; @@v11@@ = Number * @@a2@@ ; * @@a1@@ = mem_malloc ( Number L * @@a2@@ ) ; if ( ! * @@a1@@ ) no_mem_exit ( String ) ; for ( @@i@@ = Number ; @@i@@ < @@a2@@ ; ++ @@i@@ ) @@v11@@ += get_mem2Dpel_pad ( ( void * * ) * @@a1@@ + @@i@@ , @@a3@@ , @@a4@@ , @@a5@@ , @@a6@@ ) ; return @@v11@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "void *"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "a6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} {"name": "get_mem2D", "code": "__int64 __fastcall get_mem2D ( void * * @@a1@@ , int @@a2@@ , int @@a3@@ ) { void * * @@v3@@ ; int @@i@@ ; * @@a1@@ = mem_malloc ( Number L * @@a2@@ ) ; if ( ! * @@a1@@ ) no_mem_exit ( String ) ; @@v3@@ = ( void * * ) * @@a1@@ ; * @@v3@@ = mem_calloc ( @@a3@@ * @@a2@@ , Number L ) ; if ( ! * @@v3@@ ) no_mem_exit ( String ) ; for ( @@i@@ = Number ; @@i@@ < @@a2@@ ; ++ @@i@@ ) * ( ( _QWORD * ) * @@a1@@ + @@i@@ ) = * ( ( _QWORD * ) * @@a1@@ + @@i@@ - Number ) + @@a3@@ ; return ( unsigned int ) ( @@a2@@ * ( @@a3@@ + Number ) ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "v3", "t": {"T": 3, "t": "void *"}, "location": "r32"}, {"n": "a1", "t": {"T": 3, "t": "void *"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}]} {"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"}]}