{"name": "compare_codec_desc", "code": "int __fastcall compare_codec_desc ( const void * @@a1@@ , const void * @@a2@@ ) { int @@result@@ ; if ( * ( _DWORD * ) ( * ( _QWORD * ) @@a1@@ + Number L ) == * ( _DWORD * ) ( * ( _QWORD * ) @@a2@@ + Number L ) ) @@result@@ = strcmp ( * ( const char * * ) ( * ( _QWORD * ) @@a1@@ + Number L ) , * ( const char * * ) ( * ( _QWORD * ) @@a2@@ + Number L ) ) ; else @@result@@ = * ( _DWORD * ) ( * ( _QWORD * ) @@a1@@ + Number L ) - * ( _DWORD * ) ( * ( _QWORD * ) @@a2@@ + Number L ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]}
{"name": "get_codecs_sorted", "code": "__int64 __fastcall get_codecs_sorted ( _QWORD * @@a1@@ ) { __int64 i ; __int64 j ; int v3 ; _QWORD * @@base@@ ; int @@v6@@ ; unsigned int @@nmemb@@ ; size_t @@nmemb_4@@ ; @@nmemb@@ = Number ; @@v6@@ = Number ; for ( i = avcodec_descriptor_next ( Number L ) ; i ; i = avcodec_descriptor_next ( i ) ) ++ @@nmemb@@ ; @@base@@ = ( _QWORD * ) av_calloc ( @@nmemb@@ , Number L ) ; if ( ! @@base@@ ) { av_log ( Number L , Number L , String ) ; exit_program ( Number ) ; } for ( j = avcodec_descriptor_next ( Number L ) ; ; j = avcodec_descriptor_next ( @@nmemb_4@@ ) ) { @@nmemb_4@@ = j ; if ( ! j ) break ; v3 = @@v6@@ ++ ; @@base@@ [ v3 ] = @@nmemb_4@@ ; } if ( @@v6@@ != @@nmemb@@ ) { av_log ( Number L , Number L , String , String , String , Number L ) ; abort ( ) ; } qsort ( @@base@@ , @@nmemb@@ , Number , compare_codec_desc ) ; * @@a1@@ = @@base@@ ; return @@nmemb@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "nmemb_4", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s16"}, {"n": "nmemb", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "base", "t": {"T": 3, "t": "_QWORD"}, "location": "s32"}]}