{"name": "av_x_if_null", "code": "__int64 __fastcall av_x_if_null ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) @@result@@ = @@a1@@ ; else @@result@@ = @@a2@@ ; 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"}]}
{"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"}]}