{"name": "cmdutils_read_file", "code": "__int64 __fastcall cmdutils_read_file ( const char * @@a1@@ , void * * @@a2@@ , size_t * @@a3@@ ) { int * v3 ; char * v4 ; __int64 result ; int * v6 ; char * v7 ; _BYTE * v8 ; size_t v9 ; const char * v10 ; __int64 @@v12@@ [ Number ] ; FILE * @@stream@@ ; __int64 @@v14@@ ; @@stream@@ = ( FILE * ) av_fopen_utf8 ( @@a1@@ , String ) ; if ( @@stream@@ ) { @@v14@@ = fseek ( @@stream@@ , Number L , Number ) ; if ( @@v14@@ == Number || ( @@v14@@ = ftell ( @@stream@@ ) , @@v14@@ < Number ) || ( * @@a3@@ = @@v14@@ , @@v14@@ = fseek ( @@stream@@ , Number L , Number ) , @@v14@@ == Number ) ) { @@v14@@ = - * _errno_location ( ) ; } else { * @@a2@@ = ( void * ) av_malloc ( * @@a3@@ + Number ) ; if ( * @@a2@@ ) { @@v14@@ = fread ( * @@a2@@ , Number , * @@a3@@ , @@stream@@ ) ; if ( * @@a3@@ <= @@v14@@ ) { @@v14@@ = Number L ; v8 = * @@a2@@ ; v9 = ( * @@a3@@ ) ++ ; v8 [ v9 ] = Number ; } else { av_free ( * @@a2@@ ) ; if ( ferror ( @@stream@@ ) ) { @@v14@@ = - * _errno_location ( ) ; v6 = _errno_location ( ) ; v7 = strerror ( * v6 ) ; av_log ( Number L , Number L , String , @@a1@@ , v7 ) ; } else { @@v14@@ = Number ; } } } else { av_log ( Number L , Number L , String ) ; @@v14@@ = Number ; } } if ( @@v14@@ < Number ) { @@v12@@ [ Number ] = Number L ; @@v12@@ [ Number ] = Number L ; @@v12@@ [ Number ] = Number L ; @@v12@@ [ Number ] = Number L ; @@v12@@ [ Number ] = Number L ; @@v12@@ [ Number ] = Number L ; @@v12@@ [ Number ] = Number L ; @@v12@@ [ Number ] = Number L ; v10 = ( const char * ) av_make_error_string ( ( __int64 ) @@v12@@ , Number L , @@v14@@ ) ; av_log ( Number L , Number L , String , v10 ) ; } fclose ( @@stream@@ ) ; result = @@v14@@ ; } else { @@v14@@ = - * _errno_location ( ) ; v3 = _errno_location ( ) ; v4 = strerror ( * v3 ) ; av_log ( Number L , Number L , String , @@a1@@ , v4 ) ; result = @@v14@@ ; } return result ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "size_t"}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "void *"}, "location": "r64"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "s24"}, {"n": "v12", "t": {"T": 2, "n": 8, "s": 8, "t": "__int64"}, "location": "s88"}]}
{"name": "av_make_error_string", "code": "__int64 __fastcall av_make_error_string ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int @@a3@@ ) { av_strerror ( @@a3@@ , @@a1@@ , @@a2@@ ) ; return @@a1@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}