{"name": "set_sr_golomb_flac", "code": "int * __fastcall set_sr_golomb_flac ( int * @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ ) { return set_ur_golomb_jpegls ( @@a1@@ , ( ( Number * @@a2@@ - Number ) >> Number ) ^ ( unsigned int ) ( Number * @@a2@@ - Number ) , @@a3@@ , @@a4@@ , @@a5@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "int"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}]}
{"name": "set_ur_golomb_jpegls", "code": "int * __fastcall set_ur_golomb_jpegls ( int * @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ ) { int * @@result@@ ; int @@v7@@ ; int @@v9@@ ; @@v7@@ = @@a4@@ ; @@v9@@ = ( @@a2@@ >> @@a3@@ ) + Number ; if ( @@v9@@ >= @@a4@@ ) { while ( @@v7@@ > Number ) { put_bits ( @@a1@@ , Number , Number ) ; @@v7@@ -= Number ; } put_bits ( @@a1@@ , @@v7@@ , Number ) ; @@result@@ = put_bits ( @@a1@@ , @@a5@@ , @@a2@@ - Number ) ; } else { while ( @@v9@@ > Number ) { put_bits ( @@a1@@ , Number , Number ) ; @@v9@@ -= Number ; } @@result@@ = put_bits ( @@a1@@ , @@v9@@ , Number ) ; if ( @@a3@@ ) @@result@@ = put_sbits ( @@a1@@ , @@a3@@ , @@a2@@ ) ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "int"}, "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": "result", "t": {"T": 3, "t": "int"}, "location": "r8"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"name": "write_subframes", "code": "__int64 __fastcall write_subframes ( _DWORD * @@a1@@ ) { int * v1 ; int * v2 ; int * v3 ; unsigned __int64 v4 ; __int64 result ; unsigned int @@v6@@ ; int @@v7@@ ; unsigned int @@v8@@ ; int @@v9@@ ; unsigned __int64 @@v10@@ ; _DWORD * @@v11@@ ; int * @@v12@@ ; unsigned __int64 @@v13@@ ; int @@l@@ ; int j ; int k ; int @@i@@ ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { result = ( unsigned int ) @@a1@@ [ Number ] ; if ( @@i@@ >= ( int ) result ) break ; @@v11@@ = & @@a1@@ [ Number * @@i@@ + Number ] ; @@v12@@ = @@v11@@ + Number ; @@v10@@ = ( unsigned __int64 ) & @@v11@@ [ @@a1@@ [ Number ] + Number ] ; put_bits ( @@a1@@ + Number , Number , Number ) ; put_bits ( @@a1@@ + Number , Number , @@v11@@ [ Number ] ) ; put_bits ( @@a1@@ + Number , Number , Number ) ; if ( * @@v11@@ ) { if ( * @@v11@@ == Number ) { while ( ( unsigned __int64 ) @@v12@@ < @@v10@@ ) { v1 = @@v12@@ ++ ; put_sbits ( @@a1@@ + Number , @@v11@@ [ Number ] , * v1 ) ; } } else { for ( j = Number ; j < @@v11@@ [ Number ] ; ++ j ) { v2 = @@v12@@ ++ ; put_sbits ( @@a1@@ + Number , @@v11@@ [ Number ] , * v2 ) ; } if ( * @@v11@@ == Number ) { @@v9@@ = @@a1@@ [ Number ] ; put_bits ( @@a1@@ + Number , Number , @@v9@@ - Number ) ; put_sbits ( @@a1@@ + Number , Number , @@v11@@ [ Number ] ) ; for ( k = Number ; k < @@v11@@ [ Number ] ; ++ k ) put_sbits ( @@a1@@ + Number , @@v9@@ , @@v11@@ [ k + Number ] ) ; } put_bits ( @@a1@@ + Number , Number , Number ) ; @@v8@@ = @@v11@@ [ Number ] ; @@v7@@ = ( int ) @@a1@@ [ Number ] >> @@v8@@ ; put_bits ( @@a1@@ + Number , Number , @@v8@@ ) ; @@v13@@ = ( unsigned __int64 ) & @@v11@@ [ @@v7@@ + Number ] ; for ( @@l@@ = Number ; @@l@@ < Number << @@v8@@ ; ++ @@l@@ ) { @@v6@@ = @@v11@@ [ @@l@@ + Number ] ; put_bits ( @@a1@@ + Number , Number , @@v6@@ ) ; while ( ( unsigned __int64 ) @@v12@@ < @@v13@@ ) { v3 = @@v12@@ ++ ; set_sr_golomb_flac ( @@a1@@ + Number , * v3 , @@v6@@ , Number , Number ) ; } v4 = Number L * @@v7@@ + @@v13@@ ; if ( @@v10@@ <= v4 ) v4 = @@v10@@ ; @@v13@@ = v4 ; } } } else { put_sbits ( @@a1@@ + Number , @@v11@@ [ Number ] , * @@v12@@ ) ; } } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "l", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v13", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v12", "t": {"T": 3, "t": "int"}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v11", "t": {"T": 3, "t": "_DWORD"}, "location": "s40"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s48"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s56"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s64"}]}