{"name": "setup_find_stream_info_opts", "code": "__int64 __fastcall setup_find_stream_info_opts ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; __int64 @@v3@@ ; unsigned int @@i@@ ; if ( ! * ( _DWORD * ) ( @@a1@@ + Number ) ) return Number L ; @@v3@@ = av_mallocz_array ( * ( unsigned int * ) ( @@a1@@ + Number ) , Number ) ; if ( @@v3@@ ) { for ( @@i@@ = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) > @@i@@ ; ++ @@i@@ ) * ( _QWORD * ) ( Number L * ( int ) @@i@@ + @@v3@@ ) = filter_codec_opts ( @@a2@@ , * ( _DWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) + Number L ) + Number L ) , @@a1@@ , * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) , Number L ) ; @@result@@ = @@v3@@ ; } else { av_log ( Number L , Number L , String ) ; @@result@@ = Number L ; } 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"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]}
{"name": "av_mallocz_array", "code": "__int64 __fastcall av_mallocz_array ( unsigned __int64 @@a1@@ , unsigned __int64 @@a2@@ ) { __int64 @@result@@ ; if ( @@a2@@ && @@a1@@ < Number / @@a2@@ ) @@result@@ = av_mallocz ( @@a2@@ * @@a1@@ , @@a2@@ , Number % @@a2@@ ) ; else @@result@@ = Number L ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "filter_codec_opts", "code": "__int64 __fastcall filter_codec_opts ( __int64 @@a1@@ , unsigned int @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ , __int64 @@a5@@ ) { int v5 ; __int64 v6 ; int v7 ; int v8 ; __int64 @@v13@@ ; __int64 @@v14@@ ; char * @@v15@@ ; char @@v16@@ ; unsigned int @@v17@@ ; _QWORD * @@v18@@ ; @@v14@@ = Number L ; @@v18@@ = Number L ; if ( * ( _QWORD * ) ( @@a3@@ + Number ) ) v5 = Number ; else v5 = Number ; @@v17@@ = v5 ; @@v16@@ = Number ; @@v13@@ = avcodec_get_class ( ) ; if ( ! @@a5@@ ) { if ( * ( _QWORD * ) ( @@a3@@ + Number ) ) v6 = avcodec_find_encoder ( @@a2@@ ) ; else v6 = avcodec_find_decoder ( @@a2@@ ) ; @@a5@@ = v6 ; } v7 = * ( _DWORD * ) ( * ( _QWORD * ) ( @@a4@@ + Number ) + Number L ) ; if ( v7 == Number ) { @@v16@@ = Number ; @@v17@@ |= Number ; } else if ( v7 <= Number ) { if ( v7 ) { if ( v7 == Number ) { @@v16@@ = Number ; @@v17@@ |= Number ; } } else { @@v16@@ = Number ; @@v17@@ |= Number ; } } while ( Number ) { @@v18@@ = ( _QWORD * ) av_dict_get ( @@a1@@ , & unk_6A4B , @@v18@@ , Number L ) ; if ( ! @@v18@@ ) return @@v14@@ ; @@v15@@ = strchr ( ( const char * ) * @@v18@@ , Number ) ; if ( ! @@v15@@ ) goto LABEL_22 ; v8 = check_stream_specifier ( @@a3@@ , @@a4@@ , @@v15@@ + Number ) ; if ( v8 ) { if ( v8 != Number ) exit_program ( Number ) ; * @@v15@@ = Number ; LABEL_22 : if ( av_opt_find ( & @@v13@@ , * @@v18@@ , Number L , @@v17@@ , Number L ) || ! @@a5@@ || * ( _QWORD * ) ( @@a5@@ + Number ) && av_opt_find ( @@a5@@ + Number , * @@v18@@ , Number L , @@v17@@ , Number L ) ) { av_dict_set ( & @@v14@@ , * @@v18@@ , @@v18@@ [ Number ] , Number L ) ; } else if ( @@v16@@ == * ( _BYTE * ) * @@v18@@ && av_opt_find ( & @@v13@@ , * @@v18@@ + Number L , Number L , @@v17@@ , Number L ) ) { av_dict_set ( & @@v14@@ , * @@v18@@ + Number L , @@v18@@ [ Number ] , Number L ) ; } if ( @@v15@@ ) * @@v15@@ = Number ; } } }", "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": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "v18", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "v17", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v16", "t": {"T": 1, "n": "char", "s": 1}, "location": "s21"}, {"n": "v15", "t": {"T": 3, "t": "char"}, "location": "s32"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}]}