{"name": "channel_decorrelation", "code": "unsigned __int64 __fastcall channel_decorrelation ( _DWORD * @@a1@@ ) { unsigned __int64 @@result@@ ; int @@v2@@ ; __int64 @@v3@@ ; __int64 @@v4@@ ; int @@v5@@ ; int i ; int j ; int k ; @@v5@@ = @@a1@@ [ Number ] ; @@v4@@ = ( __int64 ) ( @@a1@@ + Number ) ; @@v3@@ = ( __int64 ) ( @@a1@@ + Number ) ; if ( @@a1@@ [ Number ] == Number ) { @@a1@@ [ Number ] = estimate_stereo_mode ( @@v4@@ , @@v3@@ , @@v5@@ ) ; @@result@@ = ( unsigned int ) @@a1@@ [ Number ] ; if ( ( _DWORD ) @@result@@ ) { if ( @@a1@@ [ Number ] == Number ) { for ( i = Number ; i < @@v5@@ ; ++ i ) { @@v2@@ = * ( _DWORD * ) ( Number L * i + @@v4@@ ) ; * ( _DWORD * ) ( Number L * i + @@v4@@ ) = ( @@v2@@ + * ( _DWORD * ) ( Number L * i + @@v3@@ ) ) >> Number ; * ( _DWORD * ) ( Number L * i + @@v3@@ ) = @@v2@@ - * ( _DWORD * ) ( Number L * i + @@v3@@ ) ; } @@result@@ = ( unsigned __int64 ) ( @@a1@@ + Number ) ; ++ @@a1@@ [ Number ] ; } else if ( @@a1@@ [ Number ] == Number ) { for ( j = Number ; j < @@v5@@ ; ++ j ) * ( _DWORD * ) ( Number L * j + @@v3@@ ) = * ( _DWORD * ) ( Number L * j + @@v4@@ ) - * ( _DWORD * ) ( Number L * j + @@v3@@ ) ; @@result@@ = ( unsigned __int64 ) ( @@a1@@ + Number ) ; ++ @@a1@@ [ Number ] ; } else { for ( k = Number ; k < @@v5@@ ; ++ k ) * ( _DWORD * ) ( Number L * k + @@v4@@ ) -= * ( _DWORD * ) ( Number L * k + @@v3@@ ) ; @@result@@ = ( unsigned __int64 ) ( @@a1@@ + Number ) ; ++ @@a1@@ [ Number ] ; } } } else { @@result@@ = ( unsigned __int64 ) ( @@a1@@ + Number ) ; @@a1@@ [ Number ] = Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}]}
{"name": "estimate_stereo_mode", "code": "__int64 __fastcall estimate_stereo_mode ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { __int64 v3 ; __int64 v4 ; __int64 v5 ; __int64 v6 ; __int64 @@v9@@ [ Number ] ; __int64 @@v10@@ ; __int64 @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; int @@v14@@ ; int @@v15@@ ; int @@v16@@ ; int @@v17@@ ; int @@i@@ ; @@v13@@ = Number L ; @@v12@@ = Number L ; @@v11@@ = Number L ; @@v10@@ = Number L ; for ( @@i@@ = Number ; @@i@@ < @@a3@@ ; ++ @@i@@ ) { @@v15@@ = * ( _DWORD * ) ( Number L * @@i@@ + @@a1@@ ) - Number * * ( _DWORD * ) ( Number L * @@i@@ - Number + @@a1@@ ) + * ( _DWORD * ) ( Number L * @@i@@ - Number + @@a1@@ ) ; @@v14@@ = * ( _DWORD * ) ( Number L * @@i@@ + @@a2@@ ) - Number * * ( _DWORD * ) ( Number L * @@i@@ - Number + @@a2@@ ) + * ( _DWORD * ) ( Number L * @@i@@ - Number + @@a2@@ ) ; if ( ( @@v15@@ + @@v14@@ ) >> Number < Number ) v3 = - ( ( @@v15@@ + @@v14@@ ) >> Number ) ; else v3 = ( @@v15@@ + @@v14@@ ) >> Number ; @@v12@@ += v3 ; if ( @@v15@@ - @@v14@@ < Number ) v4 = @@v14@@ - @@v15@@ ; else v4 = @@v15@@ - @@v14@@ ; @@v13@@ += v4 ; if ( @@v15@@ < Number ) v5 = - @@v15@@ ; else v5 = @@v15@@ ; @@v10@@ += v5 ; if ( @@v14@@ < Number ) v6 = - @@v14@@ ; else v6 = @@v14@@ ; @@v11@@ += v6 ; } for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { @@v16@@ = find_optimal_param ( Number * ( unsigned int ) * ( & @@v10@@ + @@i@@ ) , @@a3@@ ) ; * ( & @@v10@@ + @@i@@ ) = ( ( unsigned __int64 ) ( Number * * ( & @@v10@@ + @@i@@ ) - ( @@a3@@ >> Number ) ) >> @@v16@@ ) + @@a3@@ * ( @@v16@@ + Number ) ; } @@v9@@ [ Number ] = @@v10@@ + @@v11@@ ; @@v9@@ [ Number ] = @@v10@@ + @@v13@@ ; @@v9@@ [ Number ] = @@v11@@ + @@v13@@ ; @@v9@@ [ Number ] = @@v12@@ + @@v13@@ ; @@v17@@ = Number ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { if ( @@v9@@ [ @@i@@ ] < ( unsigned __int64 ) @@v9@@ [ @@v17@@ ] ) @@v17@@ = @@i@@ ; } switch ( @@v17@@ ) { case Number : return Number L ; case Number : return Number L ; case Number : return Number L ; } return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "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": "v16", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v15", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}, {"n": "v9", "t": {"T": 2, "n": 4, "s": 8, "t": "__int64"}, "location": "s96"}]} {"name": "flac_encode_frame", "code": "__int64 __fastcall flac_encode_frame ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ , __int64 @@a4@@ ) { __int64 @@result@@ ; signed int @@v6@@ ; __int64 @@v7@@ ; int @@v9@@ ; @@v7@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@a4@@ ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) < * ( _DWORD * ) ( @@v7@@ + Number ) ) * ( _DWORD * ) ( @@v7@@ + Number ) = ff_flac_get_max_frame_size ( * ( unsigned int * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@v7@@ + Number ) , Number L ) ; init_frame ( @@v7@@ ) ; copy_samples ( @@v7@@ , @@a4@@ ) ; channel_decorrelation ( ( _DWORD * ) @@v7@@ ) ; @@v9@@ = encode_frame ( ( int * ) @@v7@@ ) ; if ( @@v9@@ > * ( _DWORD * ) ( @@v7@@ + Number ) ) { * ( _DWORD * ) ( @@v7@@ + Number ) = Number ; @@v9@@ = encode_frame ( ( int * ) @@v7@@ ) ; } if ( @@a3@@ >= @@v9@@ ) { @@v6@@ = write_frame ( ( _DWORD * ) @@v7@@ , @@a2@@ , @@a3@@ ) ; ++ * ( _DWORD * ) ( @@v7@@ + Number ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = * ( _QWORD * ) ( @@v7@@ + Number ) ; * ( _QWORD * ) ( @@v7@@ + Number ) += * ( int * ) ( @@a1@@ + Number ) ; update_md5_sum ( @@v7@@ , @@a4@@ ) ; if ( @@v6@@ > * ( _DWORD * ) ( @@v7@@ + Number ) ) * ( _DWORD * ) ( @@v7@@ + Number ) = @@v6@@ ; if ( @@v6@@ < * ( _DWORD * ) ( @@v7@@ + Number ) ) * ( _DWORD * ) ( @@v7@@ + Number ) = @@v6@@ ; @@result@@ = ( unsigned int ) @@v6@@ ; } else { av_log ( @@a1@@ , Number L , String ) ; @@result@@ = Number L ; } } else { * ( _DWORD * ) ( @@v7@@ + Number ) = * ( _DWORD * ) ( @@v7@@ + Number ) ; av_md5_final ( * ( _QWORD * ) ( @@v7@@ + Number ) , @@v7@@ + Number ) ; write_streaminfo ( @@v7@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "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": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s36"}]}