{"name": "find_option", "code": "const char * * __fastcall find_option ( const char * * @@a1@@ , const char * @@a2@@ ) { int @@v2@@ ; int @@v5@@ ; char * @@v6@@ ; @@v6@@ = strchr ( @@a2@@ , Number ) ; if ( @@v6@@ ) @@v2@@ = ( _DWORD ) @@v6@@ - ( _DWORD ) @@a2@@ ; else @@v2@@ = strlen ( @@a2@@ ) ; @@v5@@ = @@v2@@ ; while ( * @@a1@@ && ( strncmp ( @@a2@@ , * @@a1@@ , @@v5@@ ) || strlen ( * @@a1@@ ) != @@v5@@ ) ) @@a1@@ += Number ; return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char *"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v6", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}]}
{"name": "parse_option", "code": "__int64 __fastcall parse_option ( __int64 @@a1@@ , __int64 @@a2@@ , const char * @@a3@@ , const char * * @@a4@@ ) { __int64 @@result@@ ; int @@v7@@ ; const char * * @@v8@@ ; @@v8@@ = find_option ( @@a4@@ , ( const char * ) @@a2@@ ) ; if ( ! * @@v8@@ && * ( _BYTE * ) @@a2@@ == Number && * ( _BYTE * ) ( @@a2@@ + Number ) == Number ) { @@v8@@ = find_option ( @@a4@@ , ( const char * ) ( @@a2@@ + Number ) ) ; if ( * @@v8@@ && ( ( _DWORD ) @@v8@@ [ Number ] & Number ) != Number ) @@a3@@ = String ; } else if ( ( ( _DWORD ) @@v8@@ [ Number ] & Number ) != Number ) { @@a3@@ = String ; } if ( ! * @@v8@@ ) @@v8@@ = find_option ( @@a4@@ , String ) ; if ( * @@v8@@ ) { if ( ( ( _DWORD ) @@v8@@ [ Number ] & Number ) == Number || @@a3@@ ) { @@v7@@ = write_option ( @@a1@@ , ( __int64 ) @@v8@@ , ( const char * ) @@a2@@ , @@a3@@ ) ; if ( @@v7@@ >= Number ) @@result@@ = ( ( _DWORD ) @@v8@@ [ Number ] & Number ) != Number ; else @@result@@ = ( unsigned int ) @@v7@@ ; } else { av_log ( Number L , Number L , String , ( const char * ) @@a2@@ ) ; @@result@@ = Number L ; } } else { av_log ( Number L , Number L , String , ( const char * ) @@a2@@ ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "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": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v8", "t": {"T": 3, "t": "const char *"}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}]} {"name": "locate_option", "code": "__int64 __fastcall locate_option ( int @@a1@@ , __int64 @@a2@@ , const char * * @@a3@@ , const char * @@a4@@ ) { _BYTE * @@v4@@ ; char * @@s1@@ ; int @@i@@ ; const char * * @@v10@@ ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ ; ++ @@i@@ ) { @@v4@@ = * ( _BYTE * * ) ( Number L * @@i@@ + @@a2@@ ) ; @@s1@@ = @@v4@@ + Number ; if ( * @@v4@@ == Number ) { @@v10@@ = find_option ( @@a3@@ , @@s1@@ ) ; if ( ! * @@v10@@ && * @@s1@@ == Number && @@s1@@ [ Number ] == Number ) @@v10@@ = find_option ( @@a3@@ , @@s1@@ + Number ) ; if ( ! * @@v10@@ && ! strcmp ( @@s1@@ , @@a4@@ ) || * @@v10@@ && ! strcmp ( @@a4@@ , * @@v10@@ ) ) return ( unsigned int ) @@i@@ ; if ( ! * @@v10@@ || ( ( _DWORD ) @@v10@@ [ Number ] & Number ) != Number ) ++ @@i@@ ; } } 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": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 3, "t": "_BYTE"}, "location": "r8"}, {"n": "v10", "t": {"T": 3, "t": "const char *"}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "s1", "t": {"T": 3, "t": "char"}, "location": "s32"}]} {"name": "split_commandline", "code": "__int64 __fastcall split_commandline ( __int64 @@a1@@ , int @@a2@@ , __int64 @@a3@@ , const char * * @@a4@@ , const char * * @@a5@@ , int @@a6@@ ) { int v6 ; int v7 ; int v9 ; int v10 ; const char * * v15 ; const char * * v16 ; int v17 ; int v18 ; __int64 v19 ; __int64 v20 ; const char * v21 ; const char * v22 ; int @@v23@@ ; int @@v24@@ ; @@v24@@ = Number ; @@v23@@ = Number ; prepare_app_arguments ( ) ; init_parse_context ( ( _QWORD * ) @@a1@@ , ( __int64 ) @@a5@@ , @@a6@@ ) ; av_log ( Number L , Number L , String ) ; while ( @@v24@@ < @@a2@@ ) { v6 = @@v24@@ ++ ; v19 = * ( _QWORD * ) ( @@a3@@ + Number L * v6 ) ; av_log ( Number L , Number L , String , ( const char * ) v19 ) ; if ( * ( _BYTE * ) v19 == Number && * ( _BYTE * ) ( v19 + Number ) == Number && ! * ( _BYTE * ) ( v19 + Number ) ) { @@v23@@ = @@v24@@ ; } else if ( * ( _BYTE * ) v19 == Number && * ( _BYTE * ) ( v19 + Number ) && @@v24@@ != @@v23@@ + Number ) { v20 = v19 + Number ; v17 = match_group_separator ( ( __int64 ) @@a5@@ , @@a6@@ , ( const char * ) v20 ) ; if ( v17 < Number ) { v15 = find_option ( @@a4@@ , ( const char * ) v20 ) ; if ( * v15 ) { if ( ( ( _DWORD ) v15 [ Number ] & Number ) != Number ) { v9 = @@v24@@ ++ ; v22 = * ( const char * * ) ( @@a3@@ + Number L * v9 ) ; add_opt ( @@a1@@ , ( __int64 ) v15 , v20 , ( __int64 ) v22 ) ; } else { if ( ( ( _DWORD ) v15 [ Number ] & Number ) != Number ) { v10 = @@v24@@ ++ ; v22 = * ( const char * * ) ( @@a3@@ + Number L * v10 ) ; if ( ! v22 ) { LABEL_12 : av_log ( Number L , Number L , String , ( const char * ) v20 ) ; return Number L ; } } else { v22 = String ; } add_opt ( @@a1@@ , ( __int64 ) v15 , v20 , ( __int64 ) v22 ) ; } av_log ( Number L , Number L , String , * v15 , v15 [ Number ] , v22 ) ; } else { if ( ! * ( _QWORD * ) ( Number L * @@v24@@ + @@a3@@ ) ) goto LABEL_28 ; v18 = opt_default ( Number L , ( const char * ) v20 , * ( _QWORD * ) ( Number L * @@v24@@ + @@a3@@ ) ) ; if ( v18 < Number ) { if ( v18 != Number ) { av_log ( Number L , Number L , String , ( const char * ) v20 , * ( const char * * ) ( Number L * @@v24@@ + @@a3@@ ) ) ; return ( unsigned int ) v18 ; } LABEL_28 : if ( * ( _BYTE * ) v20 != Number || * ( _BYTE * ) ( v20 + Number ) != Number || ( v16 = find_option ( @@a4@@ , ( const char * ) ( v20 + Number ) ) ) == Number L || ! * v16 || ( ( _DWORD ) v16 [ Number ] & Number ) == Number ) { av_log ( Number L , Number L , String , ( const char * ) v20 ) ; return Number L ; } add_opt ( @@a1@@ , ( __int64 ) v16 , v20 , ( __int64 ) String ) ; av_log ( Number L , Number L , String , * v16 , v16 [ Number ] ) ; } else { av_log ( Number L , Number L , String , ( const char * ) v20 , * ( const char * * ) ( Number L * @@v24@@ ++ + @@a3@@ ) ) ; } } } else { v7 = @@v24@@ ++ ; v21 = * ( const char * * ) ( @@a3@@ + Number L * v7 ) ; if ( ! v21 ) goto LABEL_12 ; finish_group ( ( _QWORD * ) @@a1@@ , v17 , ( __int64 ) v21 ) ; av_log ( Number L , Number L , String , @@a5@@ [ Number * v17 ] , v21 ) ; } } else { finish_group ( ( _QWORD * ) @@a1@@ , Number , v19 ) ; av_log ( Number L , Number L , String , * @@a5@@ ) ; } } if ( * ( _DWORD * ) ( @@a1@@ + Number ) || codec_opts || format_opts || resample_opts ) av_log ( Number L , Number L , String ) ; av_log ( Number L , Number L , String ) ; return Number L ; }", "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": 3, "t": "const char *"}, "location": "r72"}, {"n": "a6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "v24", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v23", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}]}