{"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": "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_loglevel", "code": "__int64 __fastcall parse_loglevel ( int @@a1@@ , __int64 @@a2@@ , const char * * @@a3@@ ) { int v3 ; __int64 @@result@@ ; char * @@v6@@ ; int @@i@@ ; int v8 ; int v9 ; v8 = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; if ( ! v8 ) v8 = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; if ( v8 && * ( _QWORD * ) ( Number * ( v8 + Number L ) + @@a2@@ ) ) opt_loglevel ( Number L , String , * ( _QWORD * ) ( Number * ( v8 + Number L ) + @@a2@@ ) ) ; v9 = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; @@v6@@ = getenv ( String ) ; if ( @@v6@@ || v9 ) { init_report ( @@v6@@ ) ; if ( report_file ) { fwrite ( String , Number , Number , report_file ) ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ ; ++ @@i@@ ) { dump_argument ( * ( const char * * ) ( Number L * @@i@@ + @@a2@@ ) ) ; if ( @@i@@ >= @@a1@@ - Number ) v3 = Number ; else v3 = Number ; fputc ( v3 , report_file ) ; } fflush ( report_file ) ; } } @@result@@ = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; if ( ( _DWORD ) @@result@@ ) hide_banner = Number ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "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": "int", "s": 4}, "location": "s16"}, {"n": "v6", "t": {"T": 3, "t": "char"}, "location": "s24"}]}