{"name": "krealloc", "code": "void * __fastcall krealloc ( void * @@a1@@ , size_t @@a2@@ ) { return realloc ( @@a1@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}]}
{"name": "resize_iovec", "code": "__int64 __fastcall resize_iovec ( __int64 @@a1@@ , unsigned int @@a2@@ ) { int @@v2@@ ; unsigned int @@v4@@ ; int @@v5@@ ; void * @@dest@@ ; @@v4@@ = Number * ( * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) ; if ( @@v4@@ <= Number ) @@v4@@ = Number ; @@v5@@ = * ( _DWORD * ) ( @@a1@@ + Number ) & Number ; if ( @@v5@@ ) { @@dest@@ = krealloc ( * ( void * * ) @@a1@@ , Number L * @@v4@@ ) ; } else { @@v2@@ = kmalloc_array ( @@v4@@ , Number L , @@a2@@ ) ; @@dest@@ = ( void * ) @@v2@@ ; if ( @@v2@@ ) { memcpy ( ( void * ) @@v2@@ , * ( const void * * ) @@a1@@ , Number L * * ( unsigned int * ) ( @@a1@@ + Number ) ) ; @@v5@@ = Number ; } } if ( ! @@dest@@ ) return Number L ; * ( _QWORD * ) @@a1@@ = @@dest@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v5@@ | @@v4@@ ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "dest", "t": {"T": 3, "t": "void"}, "location": "s8"}]}