{"name": "check_header_mismatch", "code": "__int64 __fastcall check_header_mismatch ( _QWORD * @@a1@@ , unsigned int * @@a2@@ , unsigned int * @@a3@@ , int @@a4@@ ) { __int64 v4 ; __int64 v5 ; __int64 v6 ; __int64 v7 ; unsigned int @@v11@@ ; unsigned __int64 @@v12@@ ; unsigned int * @@v13@@ ; unsigned int * @@v14@@ ; unsigned int * @@v15@@ ; unsigned int * @@v16@@ ; int @@v17@@ ; unsigned int @@v18@@ ; __int64 @@v19@@ ; int @@v20@@ ; int @@v21@@ ; unsigned int * @@i@@ ; int @@j@@ ; _BOOL4 @@v24@@ ; unsigned int @@v25@@ ; @@v14@@ = @@a2@@ + Number ; @@v13@@ = @@a3@@ + Number ; @@v25@@ = Number ; @@v24@@ = Number ; if ( @@a3@@ [ Number ] != @@a2@@ [ Number ] ) { @@v25@@ += Number ; av_log ( * @@a1@@ , ( unsigned int ) ( @@a4@@ + Number ) , String ) ; } if ( @@v13@@ [ Number ] != @@v14@@ [ Number ] ) { @@v25@@ += Number ; av_log ( * @@a1@@ , ( unsigned int ) ( @@a4@@ + Number ) , String ) ; } if ( @@v13@@ [ Number ] != @@v14@@ [ Number ] ) { @@v25@@ += Number ; av_log ( * @@a1@@ , ( unsigned int ) ( @@a4@@ + Number ) , String ) ; } if ( @@v13@@ [ Number ] != @@v14@@ [ Number ] ) { @@v25@@ += Number ; av_log ( * @@a1@@ , ( unsigned int ) ( @@a4@@ + Number ) , String ) ; } if ( * ( ( _QWORD * ) @@v13@@ + Number ) - * ( ( _QWORD * ) @@v14@@ + Number ) != @@v14@@ [ Number ] && * ( ( _QWORD * ) @@v13@@ + Number ) != * ( ( _QWORD * ) @@v14@@ + Number ) + Number L ) { @@v20@@ = * ( ( _QWORD * ) @@v14@@ + Number ) ; @@v21@@ = @@v20@@ ; for ( @@i@@ = @@a2@@ ; @@i@@ != @@a3@@ ; @@i@@ = ( unsigned int * ) * ( ( _QWORD * ) @@i@@ + Number ) ) { for ( @@j@@ = Number ; @@j@@ <= Number ; ++ @@j@@ ) { if ( * ( int * ) ( Number L * @@j@@ + * ( ( _QWORD * ) @@i@@ + Number ) ) <= Number ) { ++ @@v21@@ ; @@v20@@ += @@i@@ [ Number ] ; break ; } } } if ( @@v21@@ == * ( ( _QWORD * ) @@v13@@ + Number ) || @@v20@@ == * ( ( _QWORD * ) @@v13@@ + Number ) ) @@v24@@ = @@v25@@ == Number ; @@v25@@ += Number ; av_log ( * @@a1@@ , ( unsigned int ) ( @@a4@@ + Number ) , String ) ; } if ( @@v25@@ && ! @@v24@@ ) { @@v18@@ = Number ; @@v17@@ = Number ; @@v19@@ = * ( ( _QWORD * ) @@a2@@ + Number ) ; for ( @@j@@ = Number ; @@j@@ <= Number && ( unsigned int * ) @@v19@@ != @@a3@@ ; ++ @@j@@ ) @@v19@@ = * ( _QWORD * ) ( @@v19@@ + Number ) ; if ( * ( int * ) ( Number L * @@j@@ + * ( ( _QWORD * ) @@a2@@ + Number ) ) <= Number || * ( _DWORD * ) ( Number L * @@j@@ + * ( ( _QWORD * ) @@a2@@ + Number ) ) == Number ) { @@v16@@ = @@a2@@ ; @@v15@@ = @@a3@@ ; if ( @@j@@ <= Number || * ( int * ) ( Number L * @@j@@ - Number + * ( ( _QWORD * ) @@a2@@ + Number ) ) <= Number ) { if ( @@j@@ > Number && * ( int * ) ( Number L * @@j@@ - Number + * ( _QWORD * ) ( * ( ( _QWORD * ) @@a2@@ + Number ) + Number L ) ) > Number ) { @@v15@@ = ( unsigned int * ) * ( ( _QWORD * ) @@a2@@ + Number ) ; @@v17@@ = Number ; } } else { while ( @@a3@@ != * ( ( unsigned int * * ) @@v16@@ + Number ) ) @@v16@@ = ( unsigned int * ) * ( ( _QWORD * ) @@v16@@ + Number ) ; @@v17@@ = Number ; } @@v11@@ = * @@v15@@ - * @@v16@@ ; @@v12@@ = flac_fifo_read ( ( __int64 ) @@a1@@ , * @@v16@@ , ( int * ) & @@v11@@ ) ; v4 = ( int ) @@v11@@ ; v5 = av_crc_get_table ( Number L ) ; @@v18@@ = av_crc ( v5 , Number L , @@v12@@ , v4 ) ; @@v11@@ = * @@v15@@ - * @@v16@@ - @@v11@@ ; if ( @@v11@@ ) { @@v12@@ = flac_fifo_read ( ( __int64 ) @@a1@@ , * @@v15@@ - @@v11@@ , ( int * ) & @@v11@@ ) ; v6 = ( int ) @@v11@@ ; v7 = av_crc_get_table ( Number L ) ; @@v18@@ = av_crc ( v7 , @@v18@@ , @@v12@@ , v6 ) ; } } if ( ( @@v18@@ == Number ) != ( @@v17@@ == Number ) ) { @@v25@@ += Number ; av_log ( * @@a1@@ , ( unsigned int ) ( @@a4@@ + Number ) , String , * @@a2@@ , * ( ( _QWORD * ) @@v14@@ + Number ) , * @@a3@@ , * ( ( _QWORD * ) @@v13@@ + Number ) ) ; } } return @@v25@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "unsigned int"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "unsigned int"}, "location": "r64"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s100"}, {"n": "v25", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v24", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "s16"}, {"n": "j", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "i", "t": {"T": 3, "t": "unsigned int"}, "location": "s32"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v20", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v19", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v18", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s52"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s56"}, {"n": "v16", "t": {"T": 3, "t": "unsigned int"}, "location": "s64"}, {"n": "v15", "t": {"T": 3, "t": "unsigned int"}, "location": "s72"}, {"n": "v14", "t": {"T": 3, "t": "unsigned int"}, "location": "s80"}, {"n": "v13", "t": {"T": 3, "t": "unsigned int"}, "location": "s88"}, {"n": "v12", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s96"}]}