{"name": "next_codec_for_id", "code": "__int64 __fastcall next_codec_for_id ( int @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { __int64 @@i@@ ; __int64 @@v6@@ ; for ( @@i@@ = av_codec_next ( @@a2@@ ) ; ; @@i@@ = av_codec_next ( @@v6@@ ) ) { @@v6@@ = @@i@@ ; if ( ! @@i@@ ) break ; if ( @@a1@@ == * ( _DWORD * ) ( @@i@@ + Number ) ) { if ( @@a3@@ ? ( unsigned int ) av_codec_is_encoder ( @@i@@ ) != Number : ( unsigned int ) av_codec_is_decoder ( @@i@@ ) != Number ) return @@v6@@ ; } } return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]}
{"name": "print_codecs_for_id", "code": "int __fastcall print_codecs_for_id ( int @@a1@@ , int @@a2@@ ) { const char * @@v2@@ ; const char * * @@v4@@ ; @@v4@@ = Number L ; if ( @@a2@@ ) @@v2@@ = String ; else @@v2@@ = String ; printf ( String , @@v2@@ ) ; while ( Number ) { @@v4@@ = ( const char * * ) next_codec_for_id ( @@a1@@ , ( __int64 ) @@v4@@ , @@a2@@ ) ; if ( ! @@v4@@ ) break ; printf ( String , * @@v4@@ ) ; } return putchar ( Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v2", "t": {"T": 3, "t": "const char"}, "location": "r8"}, {"n": "v4", "t": {"T": 3, "t": "const char *"}, "location": "s16"}]} {"name": "show_codecs", "code": "__int64 show_codecs ( ) { char v0 ; const char * v1 ; __int64 @@v3@@ ; unsigned int * @@v4@@ ; unsigned int @@v5@@ ; const char * * @@v6@@ ; unsigned int @@i@@ ; @@v5@@ = get_codecs_sorted ( & @@v3@@ ) ; puts ( String String String String String String String String String String ) ; for ( @@i@@ = Number ; @@i@@ < @@v5@@ ; ++ @@i@@ ) { @@v4@@ = * ( unsigned int * * ) ( Number L * @@i@@ + @@v3@@ ) ; @@v6@@ = Number L ; if ( ! strstr ( * ( ( const char * * ) @@v4@@ + Number ) , String ) ) { putchar ( Number ) ; if ( avcodec_find_decoder ( * @@v4@@ ) ) printf ( String ) ; else printf ( ( const char * ) aIls ) ; if ( avcodec_find_encoder ( * @@v4@@ ) ) printf ( String ) ; else printf ( ( const char * ) aIls ) ; v0 = get_media_type_char ( @@v4@@ [ Number ] ) ; putchar ( v0 ) ; if ( ( @@v4@@ [ Number ] & Number ) != Number ) printf ( ( const char * ) & aIls [ Number ] ) ; else printf ( ( const char * ) aIls ) ; if ( ( @@v4@@ [ Number ] & Number ) != Number ) printf ( ( const char * ) & aIls [ Number ] ) ; else printf ( ( const char * ) aIls ) ; if ( ( @@v4@@ [ Number ] & Number ) != Number ) printf ( ( const char * ) & aIls [ Number ] ) ; else printf ( ( const char * ) aIls ) ; if ( * ( ( _QWORD * ) @@v4@@ + Number ) ) v1 = ( const char * ) * ( ( _QWORD * ) @@v4@@ + Number ) ; else v1 = ( const char * ) & unk_6A4B ; printf ( String , * ( ( const char * * ) @@v4@@ + Number ) , v1 ) ; while ( Number ) { @@v6@@ = ( const char * * ) next_codec_for_id ( * @@v4@@ , ( __int64 ) @@v6@@ , Number ) ; if ( ! @@v6@@ ) break ; if ( strcmp ( * @@v6@@ , * ( ( const char * * ) @@v4@@ + Number ) ) ) { print_codecs_for_id ( * @@v4@@ , Number ) ; break ; } } @@v6@@ = Number L ; while ( Number ) { @@v6@@ = ( const char * * ) next_codec_for_id ( * @@v4@@ , ( __int64 ) @@v6@@ , Number ) ; if ( ! @@v6@@ ) break ; if ( strcmp ( * @@v6@@ , * ( ( const char * * ) @@v4@@ + Number ) ) ) { print_codecs_for_id ( * @@v4@@ , Number ) ; break ; } } putchar ( Number ) ; } } av_free ( @@v3@@ ) ; return Number L ; }", "source": [{"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v6", "t": {"T": 3, "t": "const char *"}, "location": "s24"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v4", "t": {"T": 3, "t": "unsigned int"}, "location": "s40"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}]} {"name": "print_codecs", "code": "__int64 __fastcall print_codecs ( int @@a1@@ ) { const char * v1 ; char v2 ; const char * v3 ; __int64 @@v5@@ ; __int64 @@v6@@ ; unsigned int @@v7@@ ; const char * * @@v8@@ ; unsigned int @@i@@ ; @@v7@@ = get_codecs_sorted ( & @@v5@@ ) ; if ( @@a1@@ ) v1 = String ; else v1 = String ; printf ( String String String String String String String String String String , v1 ) ; for ( @@i@@ = Number ; @@i@@ < @@v7@@ ; ++ @@i@@ ) { @@v6@@ = * ( _QWORD * ) ( Number L * @@i@@ + @@v5@@ ) ; @@v8@@ = Number L ; while ( Number ) { @@v8@@ = ( const char * * ) next_codec_for_id ( * ( _DWORD * ) @@v6@@ , ( __int64 ) @@v8@@ , @@a1@@ ) ; if ( ! @@v8@@ ) break ; v2 = get_media_type_char ( * ( _DWORD * ) ( @@v6@@ + Number ) ) ; printf ( String , ( unsigned int ) v2 ) ; if ( ( ( _DWORD ) @@v8@@ [ Number ] & Number ) != Number ) printf ( String ) ; else printf ( ( const char * ) aIls ) ; if ( ( ( _DWORD ) @@v8@@ [ Number ] & Number ) != Number ) printf ( ( const char * ) & aIls [ Number ] ) ; else printf ( ( const char * ) aIls ) ; if ( ( ( _DWORD ) @@v8@@ [ Number ] & Number ) != Number ) printf ( String ) ; else printf ( ( const char * ) aIls ) ; if ( ( ( _DWORD ) @@v8@@ [ Number ] & Number ) != Number ) printf ( String ) ; else printf ( ( const char * ) aIls ) ; if ( ( ( _DWORD ) @@v8@@ [ Number ] & Number ) != Number ) printf ( String ) ; else printf ( ( const char * ) aIls ) ; if ( @@v8@@ [ Number ] ) v3 = @@v8@@ [ Number ] ; else v3 = ( const char * ) & unk_6A4B ; printf ( String , * @@v8@@ , v3 ) ; if ( strcmp ( * @@v8@@ , * ( const char * * ) ( @@v6@@ + Number ) ) ) printf ( String , * ( const char * * ) ( @@v6@@ + Number ) ) ; putchar ( Number ) ; } } return av_free ( @@v5@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v8", "t": {"T": 3, "t": "const char *"}, "location": "s24"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}]} {"name": "show_help_codec", "code": "__int64 __fastcall show_help_codec ( const char * @@a1@@ , int @@a2@@ ) { __int64 result ; __int64 v3 ; const char * @@v4@@ ; int * @@v5@@ ; int @@i@@ ; __int64 @@v7@@ ; if ( ! @@a1@@ ) return av_log ( Number L , Number L , String ) ; if ( @@a2@@ ) v3 = avcodec_find_encoder_by_name ( @@a1@@ ) ; else v3 = avcodec_find_decoder_by_name ( @@a1@@ ) ; @@v7@@ = v3 ; if ( v3 ) return print_codec ( v3 ) ; @@v5@@ = ( int * ) avcodec_descriptor_get_by_name ( @@a1@@ ) ; if ( ! @@v5@@ ) return av_log ( Number L , Number L , String , @@a1@@ ) ; for ( @@i@@ = Number ; ; @@i@@ = Number ) { result = next_codec_for_id ( * @@v5@@ , @@v7@@ , @@a2@@ ) ; @@v7@@ = result ; if ( ! result ) break ; print_codec ( result ) ; } if ( ! @@i@@ ) { if ( @@a2@@ ) @@v4@@ = String ; else @@v4@@ = String ; result = av_log ( Number L , Number L , String String , @@a1@@ , @@v4@@ ) ; } return result ; }", "source": [{"n": "v4", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v5", "t": {"T": 3, "t": "int"}, "location": "s32"}]}