{"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"}]}
{"name": "write_streaminfo", "code": "__int64 __fastcall write_streaminfo ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@v2@@ ; __int64 @@result@@ ; int @@v4@@ [ Number ] ; memset ( ( void * ) @@a2@@ , Number , Number ) ; init_put_bits ( ( __int64 ) @@v4@@ , @@a2@@ , Number ) ; put_bits ( @@v4@@ , Number , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; put_bits ( @@v4@@ , Number , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; put_bits ( @@v4@@ , Number , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; put_bits ( @@v4@@ , Number , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; put_bits ( @@v4@@ , Number , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; put_bits ( @@v4@@ , Number , * ( _DWORD * ) ( @@a1@@ + Number ) - Number ) ; put_bits ( @@v4@@ , Number , Number ) ; put_bits ( @@v4@@ , Number , ( * ( _QWORD * ) ( @@a1@@ + Number ) >> Number ) & Number ) ; put_bits ( @@v4@@ , Number , * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) ; flush_put_bits ( ( __int64 ) @@v4@@ ) ; @@v2@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@a2@@ + Number ) = @@result@@ ; * ( _QWORD * ) ( @@a2@@ + Number ) = @@v2@@ ; return @@result@@ ; }", "source": [{"n": "v2", "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": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 2, "n": 14, "s": 4, "t": "int"}, "location": "s56"}]} {"name": "init_frame", "code": "__int64 __fastcall init_frame ( __int64 @@a1@@ ) { __int64 @@result@@ ; int @@j@@ ; int @@i@@ ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) == * ( ( __int16 * ) & ff_flac_blocksize_table + @@i@@ ) ) { * ( _DWORD * ) ( @@a1@@ + Number ) = * ( ( __int16 * ) & ff_flac_blocksize_table + @@i@@ ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@i@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; break ; } } if ( @@i@@ == Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; if ( * ( int * ) ( @@a1@@ + Number ) > Number ) * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; else * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) - Number ; } for ( @@j@@ = Number ; @@j@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ; ++ @@j@@ ) * ( _DWORD * ) ( @@a1@@ + Number + Number L * @@j@@ + Number ) = Number ; @@result@@ = @@a1@@ + Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "j", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "copy_samples", "code": "__int64 __fastcall copy_samples ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; int @@i@@ ; int @@v4@@ ; int @@v5@@ ; @@v5@@ = Number ; @@v4@@ = Number ; while ( Number ) { @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; if ( @@v5@@ >= ( int ) @@result@@ ) break ; for ( @@i@@ = Number ; @@i@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ; ++ @@i@@ ) * ( _DWORD * ) ( @@a1@@ + Number + Number * ( Number L * @@i@@ + @@v5@@ + Number ) + Number ) = * ( __int16 * ) ( Number L * @@v4@@ ++ + @@a2@@ ) ; ++ @@v5@@ ; } 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"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "encode_frame", "code": "__int64 __fastcall encode_frame ( int * @@a1@@ ) { int @@v2@@ ; int @@i@@ ; @@v2@@ = count_frame_header ( @@a1@@ ) ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ [ Number ] ; ++ @@i@@ ) @@v2@@ += encode_residual_ch ( @@a1@@ , @@i@@ ) ; return ( unsigned int ) ( ( ( - @@v2@@ & Number ) + @@v2@@ + Number ) >> Number ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "int"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}]} {"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": "write_frame", "code": "__int64 __fastcall write_frame ( _DWORD * @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { init_put_bits ( ( __int64 ) ( @@a1@@ + Number ) , @@a2@@ , @@a3@@ ) ; write_frame_header ( ( __int64 ) @@a1@@ ) ; write_subframes ( @@a1@@ ) ; write_frame_footer ( ( __int64 ) @@a1@@ ) ; return ( unsigned int ) ( ( int ) put_bits_count ( ( __int64 ) ( @@a1@@ + Number ) ) >> Number ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} {"name": "update_md5_sum", "code": "__int64 __fastcall update_md5_sum ( __int64 @@a1@@ , __int64 @@a2@@ ) { return av_md5_update ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ , ( unsigned int ) ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) * * ( _DWORD * ) ( @@a1@@ + Number ) ) ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}