{"name": "show_help_children", "code": "__int64 __fastcall show_help_children ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; __int64 @@v3@@ ; __int64 @@v4@@ ; @@v3@@ = @@a1@@ ; @@v4@@ = Number L ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { av_opt_show2 ( & @@v3@@ , Number L , @@a2@@ , Number L ) ; putchar ( Number ) ; } while ( Number ) { @@result@@ = av_opt_child_class_next ( @@v3@@ , @@v4@@ ) ; @@v4@@ = @@result@@ ; if ( ! @@result@@ ) break ; show_help_children ( @@v4@@ , @@a2@@ ) ; } return @@result@@ ; }", "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": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}]}
{"name": "print_codec", "code": "__int64 __fastcall print_codec ( __int64 @@a1@@ ) { const char * v1 ; const char * @@v2@@ ; int v3 ; __int64 result ; char @@v5@@ [ Number ] ; char @@s@@ [ Number ] ; const char * @@v7@@ ; const char * @@v8@@ ; int @@v9@@ ; _QWORD * @@v10@@ ; _DWORD * @@v11@@ ; unsigned int * @@v12@@ ; _DWORD * @@v13@@ ; unsigned int * @@v14@@ ; @@v9@@ = av_codec_is_encoder ( @@a1@@ ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) v1 = * ( const char * * ) ( @@a1@@ + Number ) ; else v1 = ( const char * ) & unk_6A4B ; if ( @@v9@@ ) @@v2@@ = String ; else @@v2@@ = String ; printf ( String , @@v2@@ , * ( const char * * ) @@a1@@ , v1 ) ; if ( ! * ( _DWORD * ) ( @@a1@@ + Number ) || * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { printf ( String ) ; v3 = * ( _DWORD * ) ( @@a1@@ + Number ) & Number ; switch ( v3 ) { case Number : printf ( String ) ; break ; case Number : printf ( String ) ; break ; case Number : printf ( String ) ; break ; default : printf ( String ) ; break ; } putchar ( Number ) ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { @@v14@@ = * ( unsigned int * * ) ( @@a1@@ + Number ) ; printf ( String ) ; while ( * @@v14@@ ) { printf ( String , * @@v14@@ , @@v14@@ [ Number ] ) ; @@v14@@ += Number ; } putchar ( Number ) ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { @@v13@@ = * ( _DWORD * * ) ( @@a1@@ + Number ) ; printf ( String ) ; while ( * @@v13@@ != Number ) { @@v8@@ = ( const char * ) av_get_pix_fmt_name ( ( unsigned int ) * @@v13@@ ) ; printf ( String , @@v8@@ ) ; ++ @@v13@@ ; } putchar ( Number ) ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { @@v12@@ = * ( unsigned int * * ) ( @@a1@@ + Number ) ; printf ( String ) ; while ( * @@v12@@ ) { snprintf ( @@s@@ , Number , String , * @@v12@@ ) ; printf ( String , @@s@@ ) ; ++ @@v12@@ ; } putchar ( Number ) ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { @@v11@@ = * ( _DWORD * * ) ( @@a1@@ + Number ) ; printf ( String ) ; while ( * @@v11@@ != Number ) { @@v7@@ = ( const char * ) av_get_sample_fmt_name ( ( unsigned int ) * @@v11@@ ) ; printf ( String , @@v7@@ ) ; ++ @@v11@@ ; } putchar ( Number ) ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { @@v10@@ = * ( _QWORD * * ) ( @@a1@@ + Number ) ; printf ( String ) ; while ( * @@v10@@ ) { av_get_channel_layout_string ( @@v5@@ , Number L , Number L , * @@v10@@ ) ; printf ( String , @@v5@@ ) ; ++ @@v10@@ ; } putchar ( Number ) ; } result = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( result ) result = show_help_children ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number ) ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "v14", "t": {"T": 3, "t": "unsigned int"}, "location": "s16"}, {"n": "v5", "t": {"T": 2, "n": 128, "s": 1, "t": "char"}, "location": "s216"}, {"n": "v13", "t": {"T": 3, "t": "_DWORD"}, "location": "s24"}, {"n": "v12", "t": {"T": 3, "t": "unsigned int"}, "location": "s32"}, {"n": "v11", "t": {"T": 3, "t": "_DWORD"}, "location": "s40"}, {"n": "v10", "t": {"T": 3, "t": "_QWORD"}, "location": "s48"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "v8", "t": {"T": 3, "t": "const char"}, "location": "s64"}, {"n": "v7", "t": {"T": 3, "t": "const char"}, "location": "s72"}, {"n": "s", "t": {"T": 2, "n": 16, "s": 1, "t": "char"}, "location": "s88"}]} {"name": "show_help_demuxer", "code": "__int64 __fastcall show_help_demuxer ( const char * @@a1@@ ) { __int64 @@result@@ ; __int64 @@v2@@ ; @@v2@@ = av_find_input_format ( @@a1@@ ) ; if ( ! @@v2@@ ) return av_log ( Number L , Number L , String , @@a1@@ ) ; printf ( String , * ( const char * * ) @@v2@@ , * ( const char * * ) ( @@v2@@ + Number ) ) ; if ( * ( _QWORD * ) ( @@v2@@ + Number ) ) printf ( String , * ( const char * * ) ( @@v2@@ + Number ) ) ; @@result@@ = * ( _QWORD * ) ( @@v2@@ + Number ) ; if ( @@result@@ ) @@result@@ = show_help_children ( * ( _QWORD * ) ( @@v2@@ + Number ) , Number ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]} {"name": "show_help_muxer", "code": "__int64 __fastcall show_help_muxer ( const char * @@a1@@ ) { __int64 @@result@@ ; __int64 v2 ; __int64 v3 ; __int64 v4 ; __int64 @@v5@@ ; @@v5@@ = av_guess_format ( @@a1@@ , Number L , Number L ) ; if ( ! @@v5@@ ) return av_log ( Number L , Number L , String , @@a1@@ ) ; printf ( String , * ( const char * * ) @@v5@@ , * ( const char * * ) ( @@v5@@ + Number ) ) ; if ( * ( _QWORD * ) ( @@v5@@ + Number ) ) printf ( String , * ( const char * * ) ( @@v5@@ + Number ) ) ; if ( * ( _QWORD * ) ( @@v5@@ + Number ) ) printf ( String , * ( const char * * ) ( @@v5@@ + Number ) ) ; if ( * ( _DWORD * ) ( @@v5@@ + Number ) ) { v2 = avcodec_descriptor_get ( * ( unsigned int * ) ( @@v5@@ + Number ) ) ; if ( v2 ) printf ( String , * ( const char * * ) ( v2 + Number ) ) ; } if ( * ( _DWORD * ) ( @@v5@@ + Number ) ) { v3 = avcodec_descriptor_get ( * ( unsigned int * ) ( @@v5@@ + Number ) ) ; if ( v3 ) printf ( String , * ( const char * * ) ( v3 + Number ) ) ; } if ( * ( _DWORD * ) ( @@v5@@ + Number ) ) { v4 = avcodec_descriptor_get ( * ( unsigned int * ) ( @@v5@@ + Number ) ) ; if ( v4 ) printf ( String , * ( const char * * ) ( v4 + Number ) ) ; } @@result@@ = * ( _QWORD * ) ( @@v5@@ + Number ) ; if ( @@result@@ ) @@result@@ = show_help_children ( * ( _QWORD * ) ( @@v5@@ + Number ) , Number ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]} {"name": "show_help_filter", "code": "int __fastcall show_help_filter ( const char * @@a1@@ ) { int result ; unsigned int v2 ; const char * v3 ; const char * v4 ; unsigned int v5 ; const char * v6 ; const char * v7 ; int v8 ; int v9 ; __int64 @@v10@@ ; unsigned int i ; unsigned int j ; @@v10@@ = avfilter_get_by_name ( @@a1@@ ) ; if ( ! @@a1@@ ) return av_log ( Number L , Number L , String ) ; if ( ! @@v10@@ ) return av_log ( Number L , Number L , String , @@a1@@ ) ; printf ( String , * ( const char * * ) @@v10@@ ) ; if ( * ( _QWORD * ) ( @@v10@@ + Number ) ) printf ( String , * ( const char * * ) ( @@v10@@ + Number ) ) ; if ( ( * ( _DWORD * ) ( @@v10@@ + Number ) & Number ) != Number ) puts ( String ) ; puts ( String ) ; v8 = avfilter_pad_count ( * ( _QWORD * ) ( @@v10@@ + Number ) ) ; for ( i = Number ; ( int ) i < v8 ; ++ i ) { v2 = avfilter_pad_get_type ( * ( _QWORD * ) ( @@v10@@ + Number ) , i ) ; v3 = ( const char * ) av_get_media_type_string ( v2 ) ; v4 = ( const char * ) avfilter_pad_get_name ( * ( _QWORD * ) ( @@v10@@ + Number ) , i ) ; printf ( String , i , v4 , v3 ) ; } if ( ( * ( _DWORD * ) ( @@v10@@ + Number ) & Number ) != Number ) { puts ( String ) ; } else if ( ! v8 ) { puts ( String ) ; } puts ( String ) ; v9 = avfilter_pad_count ( * ( _QWORD * ) ( @@v10@@ + Number ) ) ; for ( j = Number ; ( int ) j < v9 ; ++ j ) { v5 = avfilter_pad_get_type ( * ( _QWORD * ) ( @@v10@@ + Number ) , j ) ; v6 = ( const char * ) av_get_media_type_string ( v5 ) ; v7 = ( const char * ) avfilter_pad_get_name ( * ( _QWORD * ) ( @@v10@@ + Number ) , j ) ; printf ( String , j , v7 , v6 ) ; } if ( ( * ( _DWORD * ) ( @@v10@@ + Number ) & Number ) != Number ) { puts ( String ) ; } else if ( ! v9 ) { puts ( String ) ; } if ( * ( _QWORD * ) ( @@v10@@ + Number ) ) show_help_children ( * ( _QWORD * ) ( @@v10@@ + Number ) , Number ) ; result = * ( _DWORD * ) ( @@v10@@ + Number ) & Number ; if ( result ) result = puts ( String ) ; return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]} {"name": "show_help", "code": "__int64 __fastcall show_help ( __int64 @@a1@@ , __int64 @@a2@@ , void * @@a3@@ ) { void * v3 ; const char * v5 ; char * @@s@@ ; char * @@v8@@ ; av_log_set_callback ( log_callback_help ) ; if ( @@a3@@ ) v3 = @@a3@@ ; else v3 = & unk_6A4B ; @@s@@ = ( char * ) av_strdup ( v3 ) ; if ( ! @@s@@ ) return Number L ; @@v8@@ = strchr ( @@s@@ , Number ) ; if ( @@v8@@ ) { v5 = @@v8@@ ++ ; * v5 = Number ; } if ( ! * @@s@@ ) goto LABEL_19 ; if ( strcmp ( @@s@@ , String ) ) { if ( ! strcmp ( @@s@@ , String ) ) { show_help_codec ( @@v8@@ , Number ) ; goto LABEL_20 ; } if ( ! strcmp ( @@s@@ , String ) ) { show_help_demuxer ( @@v8@@ ) ; goto LABEL_20 ; } if ( ! strcmp ( @@s@@ , String ) ) { show_help_muxer ( @@v8@@ ) ; goto LABEL_20 ; } if ( ! strcmp ( @@s@@ , String ) ) { show_help_filter ( @@v8@@ ) ; goto LABEL_20 ; } LABEL_19 : show_help_default ( @@s@@ , @@v8@@ ) ; goto LABEL_20 ; } show_help_codec ( @@v8@@ , Number ) ; LABEL_20 : av_freep ( & @@s@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "void"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v8", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "s24"}]}