{"name": "query_formats", "code": "__int64 __fastcall query_formats ( __int64 @@a1@@ , __int64 @@a2@@ ) { int v2 ; unsigned int v3 ; unsigned int v4 ; char @@v6@@ [ Number ] ; char @@s@@ [ Number ] ; __int64 @@v8@@ ; __int64 @@v9@@ ; __int64 @@v10@@ ; __int64 @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; int @@v14@@ ; unsigned int @@v15@@ ; unsigned int @@v16@@ ; unsigned int @@v17@@ ; unsigned int @@j@@ ; unsigned int @@i@@ ; @@v16@@ = Number ; @@v15@@ = Number ; for ( @@i@@ = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) > @@i@@ ; ++ @@i@@ ) { if ( * ( _QWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) + Number L ) + Number L ) ) ( * ( void ( __fastcall * * ) ( _QWORD ) ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) + Number L ) + Number L ) ) ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; else ff_default_query_formats ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } for ( @@i@@ = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) > @@i@@ ; ++ @@i@@ ) { @@v13@@ = * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; for ( @@j@@ = Number ; * ( _DWORD * ) ( @@v13@@ + Number ) > @@j@@ ; ++ @@j@@ ) { @@v12@@ = * ( _QWORD * ) ( Number L * ( int ) @@j@@ + * ( _QWORD * ) ( @@v13@@ + Number ) ) ; @@v14@@ = Number ; if ( @@v12@@ ) { if ( * ( _QWORD * ) ( @@v12@@ + Number ) != * ( _QWORD * ) ( @@v12@@ + Number ) && ! ff_merge_formats ( * ( _QWORD * ) ( @@v12@@ + Number ) , * ( _QWORD * ) ( @@v12@@ + Number ) ) ) { @@v14@@ = Number ; } if ( * ( _DWORD * ) ( @@v12@@ + Number ) == Number ) { if ( * ( _QWORD * ) ( @@v12@@ + Number ) != * ( _QWORD * ) ( @@v12@@ + Number ) && ! ff_merge_channel_layouts ( * ( _QWORD * ) ( @@v12@@ + Number ) , * ( _QWORD * ) ( @@v12@@ + Number ) ) ) { @@v14@@ = Number ; } if ( * ( _QWORD * ) ( @@v12@@ + Number ) != * ( _QWORD * ) ( @@v12@@ + Number ) && ! ff_merge_samplerates ( * ( _QWORD * ) ( @@v12@@ + Number ) , * ( _QWORD * ) ( @@v12@@ + Number ) ) ) { @@v14@@ = Number ; } } if ( @@v14@@ ) { v2 = * ( _DWORD * ) ( @@v12@@ + Number ) ; if ( v2 ) { if ( v2 != Number ) return Number L ; @@v11@@ = avfilter_get_by_name ( String ) ; if ( ! @@v11@@ ) { av_log ( @@a2@@ , Number L , String ) ; return Number L ; } v4 = @@v15@@ ++ ; snprintf ( @@s@@ , Number , String , v4 ) ; @@v6@@ [ Number ] = Number ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) snprintf ( @@v6@@ , Number , String , * ( const char * * ) ( @@a1@@ + Number ) ) ; @@v17@@ = avfilter_graph_create_filter ( & @@v8@@ , @@v11@@ , ( __int64 ) @@s@@ , ( __int64 ) @@v6@@ , Number L , @@a1@@ ) ; if ( ( @@v17@@ & Number ) != Number ) return @@v17@@ ; } else { @@v11@@ = avfilter_get_by_name ( String ) ; if ( ! @@v11@@ ) { av_log ( @@a2@@ , Number L , String ) ; return Number L ; } v3 = @@v16@@ ++ ; snprintf ( @@s@@ , Number , String , v3 ) ; @@v17@@ = avfilter_graph_create_filter ( & @@v8@@ , @@v11@@ , ( __int64 ) @@s@@ , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , @@a1@@ ) ; if ( ( @@v17@@ & Number ) != Number ) return @@v17@@ ; } @@v17@@ = avfilter_insert_filter ( @@v12@@ , @@v8@@ , Number L , Number L ) ; if ( ( @@v17@@ & Number ) != Number ) return @@v17@@ ; ( * ( void ( __fastcall * * ) ( __int64 ) ) ( * ( _QWORD * ) ( @@v8@@ + Number ) + Number L ) ) ( @@v8@@ ) ; @@v10@@ = * * ( _QWORD * * ) ( @@v8@@ + Number ) ; @@v9@@ = * * ( _QWORD * * ) ( @@v8@@ + Number ) ; if ( ! ff_merge_formats ( * ( _QWORD * ) ( @@v10@@ + Number ) , * ( _QWORD * ) ( @@v10@@ + Number ) ) || ! ff_merge_formats ( * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _QWORD * ) ( @@v9@@ + Number ) ) ) { @@v17@@ |= Number ; } if ( * ( _DWORD * ) ( @@v10@@ + Number ) == Number && ( ! ff_merge_samplerates ( * ( _QWORD * ) ( @@v10@@ + Number ) , * ( _QWORD * ) ( @@v10@@ + Number ) ) || ! ff_merge_channel_layouts ( * ( _QWORD * ) ( @@v10@@ + Number ) , * ( _QWORD * ) ( @@v10@@ + Number ) ) ) ) { @@v17@@ |= Number ; } if ( * ( _DWORD * ) ( @@v9@@ + Number ) == Number && ( ! ff_merge_samplerates ( * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _QWORD * ) ( @@v9@@ + Number ) ) || ! ff_merge_channel_layouts ( * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _QWORD * ) ( @@v9@@ + Number ) ) ) ) { @@v17@@ |= Number ; } if ( ( @@v17@@ & Number ) != Number ) { av_log ( @@a2@@ , Number L , String , * ( const char * * ) ( * ( _QWORD * ) @@v12@@ + Number L ) , * ( const char * * ) ( * ( _QWORD * ) ( @@v12@@ + Number ) + Number L ) ) ; return @@v17@@ ; } } } } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "s", "t": {"T": 2, "n": 40, "s": 1, "t": "char"}, "location": "s120"}, {"n": "j", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v17", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v16", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v6", "t": {"T": 2, "n": 256, "s": 1, "t": "char"}, "location": "s376"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}]}
{"name": "avfilter_graph_create_filter", "code": "__int64 __fastcall avfilter_graph_create_filter ( _QWORD * @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ , __int64 @@a5@@ , __int64 @@a6@@ ) { int @@v8@@ ; * @@a1@@ = avfilter_graph_alloc_filter ( @@a6@@ , @@a2@@ , @@a3@@ ) ; if ( ! * @@a1@@ ) return Number L ; @@v8@@ = avfilter_init_str ( * @@a1@@ , @@a4@@ ) ; if ( @@v8@@ >= Number ) return Number L ; if ( * @@a1@@ ) avfilter_free ( * @@a1@@ ) ; * @@a1@@ = Number L ; return ( unsigned int ) @@v8@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "a6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}]} {"name": "graph_config_formats", "code": "__int64 __fastcall graph_config_formats ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; int v3 ; int v4 ; v3 = query_formats ( @@a1@@ , @@a2@@ ) ; if ( v3 < Number ) return ( unsigned int ) v3 ; reduce_formats ( @@a1@@ ) ; swap_sample_fmts ( @@a1@@ ) ; swap_samplerates ( @@a1@@ ) ; swap_channel_layouts ( @@a1@@ ) ; v4 = pick_formats ( @@a1@@ ) ; if ( v4 >= Number ) @@result@@ = Number L ; else @@result@@ = ( unsigned int ) v4 ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}