{"name": "exit_program", "code": "void __fastcall __noreturn exit_program ( unsigned int @@a1@@ ) { if ( program_exit ) program_exit ( @@a1@@ ) ; exit ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}]}
{"name": "parse_number_or_die", "code": "double __fastcall parse_number_or_die ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ , double @@a4@@ , double @@a5@@ ) { _BYTE * @@v8@@ ; double @@v9@@ ; const char * @@v10@@ ; @@v9@@ = av_strtod ( @@a2@@ , & @@v8@@ ) ; if ( * @@v8@@ ) { @@v10@@ = String ; goto LABEL_13 ; } if ( @@a4@@ > @@v9@@ || @@v9@@ > @@a5@@ ) { @@v10@@ = String ; goto LABEL_13 ; } if ( @@a3@@ == Number && ( double ) ( int ) @@v9@@ != @@v9@@ ) { @@v10@@ = String ; goto LABEL_13 ; } if ( @@a3@@ == Number && ( double ) ( int ) @@v9@@ != @@v9@@ ) { @@v10@@ = String ; LABEL_13 : av_log ( Number L , Number L , @@v10@@ , @@a1@@ , @@a2@@ , @@a4@@ , @@a5@@ ) ; exit_program ( Number ) ; } return @@v9@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "double", "s": 8}, "location": "r496"}, {"n": "a5", "t": {"T": 1, "n": "double", "s": 8}, "location": "r512"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v10", "t": {"T": 3, "t": "const char"}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "double", "s": 8}, "location": "s24"}, {"n": "v8", "t": {"T": 3, "t": "_BYTE"}, "location": "s32"}]} {"name": "parse_time_or_die", "code": "__int64 __fastcall parse_time_or_die ( const char * @@a1@@ , const char * @@a2@@ , unsigned int @@a3@@ ) { const char * @@v3@@ ; __int64 @@v6@@ ; if ( ( int ) av_parse_time ( & @@v6@@ , @@a2@@ , @@a3@@ ) < Number ) { if ( @@a3@@ ) @@v3@@ = String ; else @@v3@@ = String ; av_log ( Number L , Number L , String , @@v3@@ , @@a1@@ , @@a2@@ ) ; exit_program ( Number ) ; } return @@v6@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "v3", "t": {"T": 3, "t": "const char"}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]} {"name": "write_option", "code": "__int64 __fastcall write_option ( __int64 @@a1@@ , __int64 @@a2@@ , const char * @@a3@@ , const char * @@a4@@ ) { __int64 * v4 ; void * v5 ; float @@v7@@ ; const char * v8 ; __int64 @@v11@@ [ Number ] ; __int64 @@v12@@ ; signed int @@v13@@ ; __int64 @@v14@@ ; int * @@v15@@ ; char * @@v16@@ ; __int64 * @@v17@@ ; __int64 * @@v18@@ ; if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) v4 = ( __int64 * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + @@a1@@ ) ; else v4 = * ( __int64 * * ) ( @@a2@@ + Number ) ; @@v18@@ = v4 ; if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) { @@v17@@ = @@v18@@ ; @@v16@@ = strchr ( @@a3@@ , Number ) ; @@v15@@ = ( int * ) ( @@v18@@ + Number ) ; * @@v18@@ = grow_array ( * @@v18@@ , Number L , @@v18@@ + Number , ( unsigned int ) ( * ( ( _DWORD * ) @@v18@@ + Number ) + Number ) ) ; if ( @@v16@@ ) v5 = @@v16@@ + Number ; else v5 = & unk_6A4B ; @@v14@@ = av_strdup ( v5 ) ; if ( ! @@v14@@ ) return Number L ; * ( _QWORD * ) ( Number L * * @@v15@@ - Number + * @@v17@@ ) = @@v14@@ ; @@v18@@ = ( __int64 * ) ( * @@v17@@ + Number L * * @@v15@@ - Number + Number ) ; } if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) { @@v12@@ = av_strdup ( @@a4@@ ) ; av_freep ( @@v18@@ ) ; if ( ! @@v12@@ ) return Number L ; * @@v18@@ = @@v12@@ ; } else if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number || ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) { * ( _DWORD * ) @@v18@@ = ( int ) parse_number_or_die ( ( __int64 ) @@a3@@ , ( __int64 ) @@a4@@ , Number , Number , Number ) ; } else if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) { * @@v18@@ = ( unsigned int ) ( int ) parse_number_or_die ( ( __int64 ) @@a3@@ , ( __int64 ) @@a4@@ , Number , Number , Number ) ; } else if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) { * @@v18@@ = parse_time_or_die ( @@a3@@ , @@a4@@ , Number ) ; } else if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) { @@v7@@ = parse_number_or_die ( ( __int64 ) @@a3@@ , ( __int64 ) @@a4@@ , Number , - INFINITY , INFINITY ) ; * ( float * ) @@v18@@ = @@v7@@ ; } else if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) { * ( double * ) @@v18@@ = parse_number_or_die ( ( __int64 ) @@a3@@ , ( __int64 ) @@a4@@ , Number , - INFINITY , INFINITY ) ; } else if ( * ( _QWORD * ) ( @@a2@@ + Number ) ) { @@v13@@ = ( * ( __int64 ( __fastcall * * ) ( __int64 , const char * , const char * ) ) ( @@a2@@ + Number ) ) ( @@a1@@ , @@a3@@ , @@a4@@ ) ; if ( @@v13@@ < Number ) { @@v11@@ [ Number ] = Number L ; @@v11@@ [ Number ] = Number L ; @@v11@@ [ Number ] = Number L ; @@v11@@ [ Number ] = Number L ; @@v11@@ [ Number ] = Number L ; @@v11@@ [ Number ] = Number L ; @@v11@@ [ Number ] = Number L ; @@v11@@ [ Number ] = Number L ; v8 = ( const char * ) av_make_error_string ( ( __int64 ) @@v11@@ , Number L , @@v13@@ ) ; av_log ( Number L , Number L , String , @@a4@@ , @@a3@@ , v8 ) ; return ( unsigned int ) @@v13@@ ; } } if ( ( * ( _DWORD * ) ( @@a2@@ + Number ) & Number ) != Number ) exit_program ( Number ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const char"}, "location": "r24"}, {"n": "v7", "t": {"T": 1, "n": "float", "s": 4}, "location": "r496"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v11", "t": {"T": 2, "n": 9, "s": 8, "t": "__int64"}, "location": "s136"}, {"n": "v18", "t": {"T": 3, "t": "__int64"}, "location": "s16"}, {"n": "v17", "t": {"T": 3, "t": "__int64"}, "location": "s24"}, {"n": "v16", "t": {"T": 3, "t": "char"}, "location": "s32"}, {"n": "v15", "t": {"T": 3, "t": "int"}, "location": "s40"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v13", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s52"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}]} {"name": "parse_options", "code": "__int64 __fastcall parse_options ( __int64 @@a1@@ , int @@a2@@ , __int64 @@a3@@ , const char * * @@a4@@ , void ( __fastcall * @@a5@@ ) ( __int64 , _BYTE * ) ) { int v5 ; __int64 result ; int @@v10@@ ; _BYTE * @@v11@@ ; int @@v12@@ ; int @@v13@@ ; @@v12@@ = Number ; prepare_app_arguments ( ) ; @@v13@@ = Number ; while ( Number ) { result = ( unsigned int ) @@a2@@ ; if ( @@v13@@ >= @@a2@@ ) break ; v5 = @@v13@@ ++ ; @@v11@@ = * ( _BYTE * * ) ( @@a3@@ + Number L * v5 ) ; if ( @@v12@@ && * @@v11@@ == Number && @@v11@@ [ Number ] ) { if ( @@v11@@ [ Number ] != Number || @@v11@@ [ Number ] ) { @@v10@@ = parse_option ( @@a1@@ , ( __int64 ) ( @@v11@@ + Number ) , * ( const char * * ) ( Number L * @@v13@@ + @@a3@@ ) , @@a4@@ ) ; if ( @@v10@@ < Number ) exit_program ( Number ) ; @@v13@@ += @@v10@@ ; } else { @@v12@@ = Number ; } } else if ( @@a5@@ ) { @@a5@@ ( @@a1@@ , @@v11@@ ) ; } } return result ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const char *"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 9, "n": "void (__fastcall *)(__int64, _BYTE *)"}, "location": "r72"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v12", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v11", "t": {"T": 3, "t": "_BYTE"}, "location": "s24"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}]} {"name": "init_parse_context", "code": "__int64 __fastcall init_parse_context ( _QWORD * @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { int @@i@@ ; memset ( @@a1@@ , Number , Number ) ; * ( ( _DWORD * ) @@a1@@ + Number ) = @@a3@@ ; @@a1@@ [ Number ] = av_mallocz_array ( * ( ( int * ) @@a1@@ + Number ) , Number ) ; if ( ! @@a1@@ [ Number ] ) exit_program ( Number ) ; for ( @@i@@ = Number ; @@i@@ < * ( ( _DWORD * ) @@a1@@ + Number ) ; ++ @@i@@ ) * ( _QWORD * ) ( @@a1@@ [ Number ] + Number L * @@i@@ ) = Number L * @@i@@ + @@a2@@ ; * @@a1@@ = & global_group_14707 ; @@a1@@ [ Number ] = & unk_6A4B ; return init_opts ( ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}]} {"name": "opt_loglevel", "code": "__int64 __fastcall opt_loglevel ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { __int64 @@v3@@ ; char * @@endptr@@ [ Number ] ; int @@v7@@ [ Number ] ; const char * @@v8@@ ; int @@v9@@ ; const char * @@v10@@ ; int @@v11@@ ; const char * @@v12@@ ; int @@v13@@ ; const char * @@v14@@ ; int @@v15@@ ; const char * @@v16@@ ; int @@v17@@ ; const char * @@v18@@ ; int @@v19@@ ; const char * @@v20@@ ; int @@v21@@ ; unsigned int @@v22@@ ; unsigned int @@i@@ ; unsigned int @@v24@@ ; char @@v25@@ [ Number ] ; @@endptr@@ [ Number ] = String ; @@v7@@ [ Number ] = Number ; @@v8@@ = String ; @@v9@@ = Number ; @@v10@@ = String ; @@v11@@ = Number ; @@v12@@ = String ; @@v13@@ = Number ; @@v14@@ = String ; @@v15@@ = Number ; @@v16@@ = String ; @@v17@@ = Number ; @@v18@@ = String ; @@v19@@ = Number ; @@v20@@ = String ; @@v21@@ = Number ; @@v24@@ = av_log_get_flags ( ) ; @@endptr@@ [ Number ] = strstr ( ( const char * ) @@a3@@ , String ) ; if ( @@endptr@@ [ Number ] ) @@v24@@ &= Number ; else @@v24@@ |= Number ; av_log_set_flags ( @@v24@@ ) ; if ( ( char * ) @@a3@@ == @@endptr@@ [ Number ] ) { if ( * ( _BYTE * ) ( @@a3@@ + Number ) == Number ) @@v3@@ = Number L ; else @@v3@@ = Number L ; @@a3@@ += @@v3@@ ; } if ( @@endptr@@ [ Number ] && ! * ( _BYTE * ) @@a3@@ ) return Number L ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { if ( ! strcmp ( * ( const char * * ) & @@v25@@ [ Number * @@i@@ - Number ] , ( const char * ) @@a3@@ ) ) { av_log_set_level ( ( unsigned int ) @@v7@@ [ Number * @@i@@ ] ) ; return Number L ; } } @@v22@@ = strtol ( ( const char * ) @@a3@@ , @@endptr@@ , Number ) ; if ( * @@endptr@@ [ Number ] ) { av_log ( Number L , Number L , String , ( const char * ) @@a3@@ ) ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) av_log ( Number L , Number L , String , * ( const char * * ) & @@v25@@ [ Number * @@i@@ - Number ] ) ; exit_program ( Number ) ; } av_log_set_level ( @@v22@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "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": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v12", "t": {"T": 3, "t": "const char"}, "location": "s104"}, {"n": "v11", "t": {"T": 1, "n": "int", "s": 4}, "location": "s112"}, {"n": "v24", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v10", "t": {"T": 3, "t": "const char"}, "location": "s120"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s128"}, {"n": "v8", "t": {"T": 3, "t": "const char"}, "location": "s136"}, {"n": "v7", "t": {"T": 2, "n": 2, "s": 4, "t": "int"}, "location": "s144"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "endptr", "t": {"T": 2, "n": 2, "s": 8, "t": "char *"}, "location": "s160"}, {"n": "v22", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v20", "t": {"T": 3, "t": "const char"}, "location": "s40"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s48"}, {"n": "v18", "t": {"T": 3, "t": "const char"}, "location": "s56"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s64"}, {"n": "v16", "t": {"T": 3, "t": "const char"}, "location": "s72"}, {"n": "v25", "t": {"T": 2, "n": 8, "s": 1, "t": "char"}, "location": "s8"}, {"n": "v15", "t": {"T": 1, "n": "int", "s": 4}, "location": "s80"}, {"n": "v14", "t": {"T": 3, "t": "const char"}, "location": "s88"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s96"}]} {"name": "init_report", "code": "__int64 __fastcall init_report ( _BYTE * @@a1@@ ) { __int64 result ; const char * v2 ; char * @@v3@@ ; int * v4 ; char * v5 ; _BYTE * @@v6@@ ; __int64 @@v7@@ [ Number ] ; char * @@endptr@@ ; char * @@filename@@ [ Number ] ; time_t @@timer@@ ; char * @@nptr@@ ; char * @@s1@@ ; unsigned int @@v13@@ ; signed int @@v14@@ ; struct tm * @@v15@@ ; int @@v16@@ ; char * @@v17@@ ; @@v6@@ = @@a1@@ ; @@v17@@ = Number L ; @@v16@@ = Number ; if ( report_file ) return Number L ; time ( & @@timer@@ ) ; @@v15@@ = localtime ( & @@timer@@ ) ; while ( @@v6@@ && * @@v6@@ ) { @@v14@@ = av_opt_get_key_value ( & @@v6@@ , String , String , Number L , & @@s1@@ , & @@nptr@@ ) ; if ( @@v14@@ < Number ) { if ( @@v16@@ ) { @@v7@@ [ Number ] = Number L ; @@v7@@ [ Number ] = Number L ; @@v7@@ [ Number ] = Number L ; @@v7@@ [ Number ] = Number L ; @@v7@@ [ Number ] = Number L ; @@v7@@ [ Number ] = Number L ; @@v7@@ [ Number ] = Number L ; @@v7@@ [ Number ] = Number L ; v2 = ( const char * ) av_make_error_string ( ( __int64 ) @@v7@@ , Number L , @@v14@@ ) ; av_log ( Number L , Number L , String , v2 ) ; } break ; } if ( * @@v6@@ ) ++ @@v6@@ ; ++ @@v16@@ ; if ( ! strcmp ( @@s1@@ , String ) ) { av_free ( @@v17@@ ) ; @@v17@@ = @@nptr@@ ; @@nptr@@ = Number L ; } else if ( ! strcmp ( @@s1@@ , String ) ) { report_file_level = strtol ( @@nptr@@ , & @@endptr@@ , Number ) ; if ( * @@endptr@@ ) { av_log ( Number L , Number L , String ) ; exit_program ( Number ) ; } } else { av_log ( Number L , Number L , String , @@s1@@ ) ; } av_free ( @@nptr@@ ) ; av_free ( @@s1@@ ) ; } av_bprint_init ( @@filename@@ , Number L , Number L ) ; @@v3@@ = ( char * ) av_x_if_null ( ( __int64 ) @@v17@@ , ( __int64 ) String ) ; expand_filename_template ( ( __int64 ) @@filename@@ , @@v3@@ , ( unsigned int * ) @@v15@@ ) ; av_free ( @@v17@@ ) ; if ( av_bprint_is_complete ( ( __int64 ) @@filename@@ ) ) { report_file = fopen64 ( @@filename@@ [ Number ] , String ) ; if ( report_file ) { av_log_set_callback ( log_callback_report ) ; av_log ( Number L , Number L , String , ( const char * ) & program_name , ( unsigned int ) ( @@v15@@ -> tm_year + Number ) , ( unsigned int ) ( @@v15@@ -> tm_mon + Number ) , ( unsigned int ) @@v15@@ -> tm_mday , ( unsigned int ) @@v15@@ -> tm_hour , ( unsigned int ) @@v15@@ -> tm_min , ( unsigned int ) @@v15@@ -> tm_sec , @@filename@@ [ Number ] ) ; av_bprint_finalize ( @@filename@@ , Number L ) ; result = Number L ; } else { @@v13@@ = - * _errno_location ( ) ; v4 = _errno_location ( ) ; v5 = strerror ( * v4 ) ; av_log ( Number L , Number L , String , @@filename@@ [ Number ] , v5 ) ; result = @@v13@@ ; } } else { av_log ( Number L , Number L , String ) ; result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}, {"n": "v3", "t": {"T": 3, "t": "char"}, "location": "r64"}, {"n": "filename", "t": {"T": 2, "n": 129, "s": 8, "t": "char *"}, "location": "s1096"}, {"n": "endptr", "t": {"T": 3, "t": "char"}, "location": "s1104"}, {"n": "v7", "t": {"T": 2, "n": 9, "s": 8, "t": "__int64"}, "location": "s1176"}, {"n": "v6", "t": {"T": 3, "t": "_BYTE"}, "location": "s1184"}, {"n": "v17", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v16", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v15", "t": {"T": 3, "t": "struct tm"}, "location": "s32"}, {"n": "v14", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s36"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s40"}, {"n": "s1", "t": {"T": 3, "t": "char"}, "location": "s48"}, {"n": "nptr", "t": {"T": 3, "t": "char"}, "location": "s56"}, {"n": "timer", "t": {"T": 1, "n": "time_t", "s": 8}, "location": "s64"}]} {"name": "opt_max_alloc", "code": "__int64 __fastcall opt_max_alloc ( __int64 @@a1@@ , __int64 @@a2@@ , const char * @@a3@@ ) { char * @@endptr@@ ; __int64 @@v6@@ ; @@v6@@ = strtol ( @@a3@@ , & @@endptr@@ , Number ) ; if ( * @@endptr@@ ) { av_log ( Number L , Number L , String , @@a3@@ ) ; exit_program ( Number ) ; } av_max_alloc ( @@v6@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "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": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "endptr", "t": {"T": 3, "t": "char"}, "location": "s24"}]} {"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"}]} {"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"}]} {"name": "grow_array", "code": "__int64 __fastcall grow_array ( __int64 @@a1@@ , int @@a2@@ , int * @@a3@@ , int @@a4@@ ) { __int64 @@v7@@ ; if ( @@a4@@ >= Number / @@a2@@ ) { av_log ( Number L , Number L , String ) ; exit_program ( Number ) ; } if ( @@a4@@ <= * @@a3@@ ) return @@a1@@ ; @@v7@@ = av_realloc_array ( @@a1@@ , @@a4@@ , @@a2@@ ) ; if ( ! @@v7@@ ) { av_log ( Number L , Number L , String ) ; exit_program ( Number ) ; } memset ( ( void * ) ( @@v7@@ + @@a2@@ * * @@a3@@ ) , Number , @@a2@@ * ( @@a4@@ - * @@a3@@ ) ) ; * @@a3@@ = @@a4@@ ; return @@v7@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "int"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]}