{"name": "find_optimal_param", "code": "__int64 __fastcall find_optimal_param ( unsigned int @@a1@@ , int @@a2@@ ) { __int64 result ; unsigned int v3 ; int @@v4@@ ; unsigned int @@v5@@ ; if ( @@a1@@ <= @@a2@@ >> Number ) return Number L ; @@v5@@ = @@a1@@ - ( @@a2@@ >> Number ) ; if ( @@a2@@ > Number ) v3 = ( @@v5@@ / @@a2@@ ) | Number ; else v3 = ( ( * ( ( unsigned int * ) & ff_inverse + @@a2@@ ) * ( unsigned __int64 ) @@v5@@ ) >> Number ) | Number ; _BitScanReverse ( & v3 , v3 ) ; @@v4@@ = Number - ( v3 ^ Number ) ; result = Number L ; if ( @@v4@@ <= Number ) result = ( unsigned int ) @@v4@@ ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]}
{"name": "calc_optimal_rice_params", "code": "__int64 __fastcall calc_optimal_rice_params ( _DWORD * @@a1@@ , int @@a2@@ , __int64 @@a3@@ , int @@a4@@ , int @@a5@@ ) { int @@v8@@ ; unsigned int @@v9@@ ; int @@v10@@ ; int @@i@@ ; @@v9@@ = Number * ( Number << @@a2@@ ) ; @@v10@@ = ( @@a4@@ >> @@a2@@ ) - @@a5@@ ; for ( @@i@@ = Number ; @@i@@ < Number << @@a2@@ ; ++ @@i@@ ) { @@v8@@ = find_optimal_param ( * ( _DWORD * ) ( Number L * @@i@@ + @@a3@@ ) , @@v10@@ ) ; @@a1@@ [ @@i@@ + Number ] = @@v8@@ ; @@v9@@ += @@v10@@ * ( @@v8@@ + Number ) + ( ( unsigned int ) ( * ( _DWORD * ) ( Number L * @@i@@ + @@a3@@ ) - ( @@v10@@ >> Number ) ) >> @@v8@@ ) ; @@v10@@ = @@a4@@ >> @@a2@@ ; } * @@a1@@ = @@a2@@ ; return @@v9@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"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"}]}