{"name": "get_bits", "code": "__int64 __fastcall get_bits ( __int64 @@a1@@ , int @@a2@@ ) { unsigned int @@v2@@ ; unsigned int @@v3@@ ; unsigned int @@v5@@ ; unsigned int @@v6@@ ; unsigned int @@v7@@ ; @@v7@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v5@@ = * ( _DWORD * ) ( ( @@v7@@ >> Number ) + * ( _QWORD * ) @@a1@@ ) ; @@v2@@ = NEG_USR32 ( ( HIBYTE ( @@v5@@ ) | ( unsigned __int16 ) ( HIWORD ( @@v5@@ ) << Number ) | ( ( ( unsigned __int16 ) ( ( _WORD ) @@v5@@ << Number ) | BYTE1 ( @@v5@@ ) ) << Number ) ) << ( @@v7@@ & Number ) , @@a2@@ ) ; @@v3@@ = @@a2@@ + @@v7@@ ; if ( @@v6@@ <= @@a2@@ + @@v7@@ ) @@v3@@ = @@v6@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v3@@ ; return @@v2@@ ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r8"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}]}
{"name": "NEG_USR32", "code": "__int64 __fastcall NEG_USR32 ( unsigned int @@a1@@ , char @@a2@@ ) { return @@a1@@ >> - @@a2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}]} {"name": "init_get_bits", "code": "__int64 __fastcall init_get_bits ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { int @@v4@@ ; __int64 @@v5@@ ; unsigned int @@v6@@ ; @@v5@@ = @@a2@@ ; @@v4@@ = @@a3@@ ; @@v6@@ = Number ; if ( @@a3@@ > Number || @@a3@@ < Number || ! @@a2@@ ) { @@v4@@ = Number ; @@v5@@ = Number L ; @@v6@@ = Number ; } * ( _QWORD * ) @@a1@@ = @@v5@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ + Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@v5@@ + ( ( @@v4@@ + Number ) >> Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; return @@v6@@ ; }", "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": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} {"name": "scale16be", "code": "__int64 __fastcall scale16be ( _DWORD * @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , int @@a4@@ , int @@a5@@ ) { int v5 ; __int64 @@result@@ ; char @@v8@@ [ Number ] ; unsigned __int16 @@v9@@ ; unsigned __int16 @@v10@@ ; unsigned __int16 @@v11@@ ; unsigned __int16 @@v12@@ ; int @@v13@@ ; int @@i@@ ; if ( @@a5@@ ) { init_get_bits ( ( __int64 ) @@v8@@ , @@a3@@ , Number * @@a4@@ ) ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@result@@ = ( unsigned int ) ( @@a1@@ [ Number ] * @@a1@@ [ Number ] ) ; if ( @@i@@ >= ( int ) @@result@@ ) break ; @@v13@@ = get_bits ( ( __int64 ) @@v8@@ , @@a1@@ [ Number ] ) ; @@v9@@ = ( @@v13@@ << ( Number - @@a1@@ [ Number ] ) ) | ( @@v13@@ >> ( Number * ( @@a1@@ [ Number ] - Number ) ) ) ; @@v9@@ = HIBYTE ( @@v9@@ ) | ( @@v9@@ << Number ) ; * ( _WORD * ) ( Number * @@i@@ + @@a2@@ ) = @@v9@@ ; } } else { for ( @@i@@ = Number ; ; @@i@@ += Number ) { @@result@@ = ( unsigned int ) ( @@i@@ + Number ) ; if ( @@a4@@ <= ( int ) @@result@@ ) break ; @@v10@@ = HIBYTE ( * ( unsigned __int16 * ) ( @@i@@ + @@a3@@ ) ) | ( * ( _WORD * ) ( @@i@@ + @@a3@@ ) << Number ) ; v5 = @@v10@@ << ( Number - @@a1@@ [ Number ] ) ; @@v11@@ = HIBYTE ( * ( unsigned __int16 * ) ( @@i@@ + @@a3@@ ) ) | ( * ( _WORD * ) ( @@i@@ + @@a3@@ ) << Number ) ; @@v12@@ = v5 | ( ( int ) @@v11@@ >> ( Number * ( @@a1@@ [ Number ] - Number ) ) ) ; @@v12@@ = HIBYTE ( @@v12@@ ) | ( @@v12@@ << Number ) ; * ( _WORD * ) ( @@i@@ + @@a2@@ ) = @@v12@@ ; } } return @@result@@ ; }", "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": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v12", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s10"}, {"n": "v11", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s12"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s14"}, {"n": "v9", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v8", "t": {"T": 2, "n": 32, "s": 1, "t": "char"}, "location": "s48"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "scale16le", "code": "__int64 __fastcall scale16le ( _DWORD * @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , int @@a4@@ , int @@a5@@ ) { __int64 @@result@@ ; char @@v6@@ [ Number ] ; int @@v7@@ ; int @@i@@ ; if ( @@a5@@ ) { init_get_bits ( ( __int64 ) @@v6@@ , @@a3@@ , Number * @@a4@@ ) ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@result@@ = ( unsigned int ) ( @@a1@@ [ Number ] * @@a1@@ [ Number ] ) ; if ( @@i@@ >= ( int ) @@result@@ ) break ; @@v7@@ = get_bits ( ( __int64 ) @@v6@@ , @@a1@@ [ Number ] ) ; * ( _WORD * ) ( Number * @@i@@ + @@a2@@ ) = ( @@v7@@ >> ( Number * ( @@a1@@ [ Number ] - Number ) ) ) | ( ( _WORD ) @@v7@@ << ( Number - @@a1@@ [ Number ] ) ) ; } } else { for ( @@i@@ = Number ; ; @@i@@ += Number ) { @@result@@ = ( unsigned int ) ( @@i@@ + Number ) ; if ( @@a4@@ <= ( int ) @@result@@ ) break ; * ( _WORD * ) ( @@i@@ + @@a2@@ ) = ( ( int ) * ( unsigned __int16 * ) ( @@i@@ + @@a3@@ ) >> ( Number * ( @@a1@@ [ Number ] - Number ) ) ) | ( * ( _WORD * ) ( @@i@@ + @@a3@@ ) << ( Number - @@a1@@ [ Number ] ) ) ; } } return @@result@@ ; }", "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": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v6", "t": {"T": 2, "n": 40, "s": 1, "t": "char"}, "location": "s48"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "raw_decode", "code": "__int64 __fastcall raw_decode ( __int64 @@a1@@ , __int64 @@a2@@ , _DWORD * @@a3@@ , __int64 @@a4@@ ) { _BOOL4 v5 ; _BOOL4 v6 ; int v7 ; int v8 ; int v9 ; int v10 ; int v11 ; __int64 v12 ; unsigned int @@v15@@ ; __int64 @@v16@@ ; int @@v17@@ ; unsigned int @@v18@@ ; int @@v19@@ ; _BYTE * @@v20@@ ; int @@v21@@ ; int @@v22@@ ; void * @@v23@@ ; unsigned int @@v24@@ ; _BOOL4 @@v25@@ ; int @@v26@@ ; __int64 @@v27@@ ; __int64 @@v29@@ ; __int64 @@v30@@ ; __int64 @@v31@@ ; int @@j@@ ; int @@k@@ ; void * @@v34@@ ; int @@v35@@ ; int @@i@@ ; int @@v37@@ ; int @@v38@@ ; int @@v39@@ ; int @@v40@@ ; void * @@src@@ ; @@v30@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@src@@ = * ( void * * ) ( @@a4@@ + Number ) ; @@v40@@ = * ( _DWORD * ) ( @@a4@@ + Number ) ; @@v39@@ = Number ; @@v29@@ = @@a2@@ ; if ( * ( int * ) ( @@a1@@ + Number ) <= Number ) { av_log ( @@a1@@ , Number L , String ) ; return Number L ; } if ( * ( int * ) ( @@a1@@ + Number ) <= Number ) { av_log ( @@a1@@ , Number L , String ) ; return Number L ; } if ( * ( _DWORD * ) ( @@v30@@ + Number ) ) { @@v38@@ = * ( _DWORD * ) ( @@a1@@ + Number ) / Number + ( ( * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) != Number ) ; } else if ( * ( _DWORD * ) ( @@v30@@ + Number ) ) { @@v38@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; } else { @@v38@@ = * ( _DWORD * ) ( @@a4@@ + Number ) / * ( _DWORD * ) ( @@a1@@ + Number ) ; } av_log ( @@a1@@ , Number L , String , * ( unsigned int * ) ( @@a4@@ + Number ) , ( unsigned int ) @@v38@@ ) ; if ( ! @@v38@@ || * ( _DWORD * ) ( @@a4@@ + Number ) < @@v38@@ * * ( _DWORD * ) ( @@a1@@ + Number ) ) { av_log ( @@a1@@ , Number L , String , * ( unsigned int * ) ( @@a4@@ + Number ) ) ; return Number L ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number && * ( _DWORD * ) ( @@a1@@ + Number ) == Number && ! * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _QWORD * ) ( @@v30@@ + Number ) && av_bswap64 ( * * ( _QWORD * * ) ( * ( _QWORD * ) ( @@v30@@ + Number ) + Number L ) ) == Number ) { if ( av_packet_get_side_data ( @@a4@@ , Number L , Number L ) ) { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@v30@@ + Number ) = Number ; * ( _DWORD * ) ( @@v30@@ + Number ) = Number ; } } @@v27@@ = av_pix_fmt_desc_get ( * ( unsigned int * ) ( @@a1@@ + Number ) ) ; if ( ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || ! * ( _DWORD * ) ( @@a1@@ + Number ) && ( * ( _DWORD * ) ( @@v30@@ + Number ) || * ( _DWORD * ) ( @@v30@@ + Number ) ) ) && ( * ( _DWORD * ) ( @@v30@@ + Number ) || * ( _DWORD * ) ( @@v30@@ + Number ) ) && ( ! * ( _DWORD * ) ( @@a1@@ + Number ) || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@v30@@ + Number ) || * ( _DWORD * ) ( @@v30@@ + Number ) ) ) { * ( _DWORD * ) ( @@v30@@ + Number ) = Number ; if ( * ( _DWORD * ) ( @@v30@@ + Number ) ) { @@v26@@ = * ( _DWORD * ) ( @@a1@@ + Number ) / Number + ( ( * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) != Number ) ; * ( _DWORD * ) ( @@v30@@ + Number ) = av_image_get_buffer_size ( * ( unsigned int * ) ( @@a1@@ + Number ) , Number * ( ( @@v26@@ + Number ) & Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) , Number L ) ; } else { * ( _DWORD * ) ( @@v30@@ + Number ) = av_image_get_buffer_size ( * ( unsigned int * ) ( @@a1@@ + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) & Number , * ( unsigned int * ) ( @@a1@@ + Number ) , Number L ) ; } } else { v5 = ( unsigned int ) av_get_bits_per_pixel ( @@v27@@ ) == Number && * ( _DWORD * ) ( @@a1@@ + Number ) && * ( int * ) ( @@a1@@ + Number ) <= Number ; * ( _DWORD * ) ( @@v30@@ + Number ) = v5 ; * ( _DWORD * ) ( @@v30@@ + Number ) = av_image_get_buffer_size ( * ( unsigned int * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) , Number L ) ; } if ( * ( int * ) ( @@v30@@ + Number ) < Number ) return * ( unsigned int * ) ( @@v30@@ + Number ) ; v6 = ! * ( _QWORD * ) @@a4@@ || * ( _DWORD * ) ( @@v30@@ + Number ) || * ( _DWORD * ) ( @@v30@@ + Number ) || * ( _DWORD * ) ( @@v30@@ + Number ) ; @@v25@@ = v6 ; * ( _DWORD * ) ( @@v29@@ + Number ) = Number ; * ( _DWORD * ) ( @@v29@@ + Number ) = Number ; @@v24@@ = ff_decode_frame_props ( @@a1@@ , @@v29@@ ) ; if ( ( @@v24@@ & Number ) != Number ) return @@v24@@ ; av_frame_set_pkt_pos ( @@v29@@ , * ( _QWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) ) ; av_frame_set_pkt_duration ( @@v29@@ , * ( _QWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) ) ; if ( * ( int * ) ( @@v30@@ + Number ) >= Number ) { * ( _DWORD * ) ( @@v29@@ + Number ) = Number ; * ( _DWORD * ) ( @@v29@@ + Number ) = * ( _DWORD * ) ( @@v30@@ + Number ) ; } @@v24@@ = av_image_check_size ( * ( unsigned int * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) , Number L , @@a1@@ ) ; if ( ( @@v24@@ & Number ) != Number ) return @@v24@@ ; if ( @@v25@@ ) { v7 = * ( _DWORD * ) ( @@v30@@ + Number ) ; if ( @@v40@@ >= v7 ) v7 = @@v40@@ ; * ( _QWORD * ) ( @@v29@@ + Number ) = av_buffer_alloc ( ( unsigned int ) v7 ) ; } else { * ( _QWORD * ) ( @@v29@@ + Number ) = av_buffer_ref ( * ( _QWORD * ) @@a4@@ ) ; } if ( ! * ( _QWORD * ) ( @@v29@@ + Number ) ) return Number L ; if ( * ( _DWORD * ) ( @@v30@@ + Number ) ) { @@v35@@ = Number ; @@v20@@ = * ( _BYTE * * ) ( * ( _QWORD * ) ( @@v29@@ + Number ) + Number L ) ; if ( * ( _DWORD * ) ( @@v30@@ + Number ) ) v8 = Number ; else v8 = Number ; @@v40@@ = * ( _DWORD * ) ( @@v30@@ + Number ) - v8 ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@v30@@ + Number ) || * ( _DWORD * ) ( @@v30@@ + Number ) ) { if ( * ( _DWORD * ) ( @@v30@@ + Number ) ) v9 = Number ; else v9 = Number ; @@v19@@ = v9 ; @@v37@@ = Number ; for ( @@i@@ = Number ; @@i@@ < @@v40@@ && @@v37@@ < * ( _DWORD * ) ( @@a4@@ + Number ) ; ++ @@i@@ ) { @@v20@@ [ @@i@@ ] = * ( ( _BYTE * ) @@src@@ + @@v37@@ ) ; @@v35@@ += @@v19@@ ; if ( @@v35@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v37@@ += @@v38@@ - @@v37@@ % @@v38@@ - Number ; @@i@@ += Number - @@i@@ % Number ; @@v35@@ = Number ; } ++ @@v37@@ ; } } else { switch ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { case Number : @@v37@@ = Number ; for ( @@i@@ = Number ; @@v40@@ > Number * @@i@@ + Number && @@v37@@ < * ( _DWORD * ) ( @@a4@@ + Number ) ; ++ @@i@@ ) { @@v20@@ [ Number * @@i@@ ] = * ( ( _BYTE * ) @@src@@ + @@v37@@ ) >> Number ; @@v20@@ [ Number * @@i@@ + Number ] = * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ; @@v35@@ += Number ; if ( @@v35@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v37@@ += @@v38@@ - @@v37@@ % @@v38@@ - Number ; @@i@@ += Number - @@i@@ % Number ; @@v35@@ = Number ; } ++ @@v37@@ ; } break ; case Number : @@v37@@ = Number ; for ( @@i@@ = Number ; @@v40@@ > Number * @@i@@ + Number && @@v37@@ < * ( _DWORD * ) ( @@a4@@ + Number ) ; ++ @@i@@ ) { @@v20@@ [ Number * @@i@@ ] = * ( ( _BYTE * ) @@src@@ + @@v37@@ ) >> Number ; @@v20@@ [ Number * @@i@@ + Number ] = ( * ( ( _BYTE * ) @@src@@ + @@v37@@ ) >> Number ) & Number ; @@v20@@ [ Number * @@i@@ + Number ] = ( * ( ( _BYTE * ) @@src@@ + @@v37@@ ) >> Number ) & Number ; @@v20@@ [ Number * @@i@@ + Number ] = * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ; @@v35@@ += Number ; if ( @@v35@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v37@@ += @@v38@@ - @@v37@@ % @@v38@@ - Number ; @@i@@ += Number - @@i@@ % Number ; @@v35@@ = Number ; } ++ @@v37@@ ; } break ; case Number : @@v37@@ = Number ; for ( @@i@@ = Number ; @@v40@@ > Number * @@i@@ + Number && @@v37@@ < * ( _DWORD * ) ( @@a4@@ + Number ) ; ++ @@i@@ ) { @@v20@@ [ Number * @@i@@ ] = * ( ( _BYTE * ) @@src@@ + @@v37@@ ) >> Number ; @@v20@@ [ Number * @@i@@ + Number ] = ( * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ) != Number ; @@v20@@ [ Number * @@i@@ + Number ] = ( * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ) != Number ; @@v20@@ [ Number * @@i@@ + Number ] = ( * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ) != Number ; @@v20@@ [ Number * @@i@@ + Number ] = ( * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ) != Number ; @@v20@@ [ Number * @@i@@ + Number ] = ( * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ) != Number ; @@v20@@ [ Number * @@i@@ + Number ] = ( * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ) != Number ; @@v20@@ [ Number * @@i@@ + Number ] = * ( ( _BYTE * ) @@src@@ + @@v37@@ ) & Number ; @@v35@@ += Number ; if ( @@v35@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v37@@ += @@v38@@ - @@v37@@ % @@v38@@ - Number ; @@i@@ += Number - @@i@@ % Number ; @@v35@@ = Number ; } ++ @@v37@@ ; } break ; default : av_log ( Number L , Number L , String , String , String , Number L ) ; abort ( ) ; } } @@v39@@ = Number ; @@src@@ = @@v20@@ ; } else if ( * ( _DWORD * ) ( @@v30@@ + Number ) ) { @@v23@@ = * ( void * * ) ( * ( _QWORD * ) ( @@v29@@ + Number ) + Number L ) ; @@v22@@ = ( * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) == Number ; @@v21@@ = HIBYTE ( * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( @@v22@@ && @@v21@@ ) { av_fast_padded_malloc ( @@v30@@ + Number , @@v30@@ + Number , @@v40@@ ) ; if ( ! * ( _QWORD * ) ( @@v30@@ + Number ) ) return Number L ; if ( @@v21@@ == Number ) { ( * ( void ( __fastcall * * ) ( _QWORD , void * , _QWORD ) ) ( @@v30@@ + Number ) ) ( * ( _QWORD * ) ( @@v30@@ + Number ) , @@src@@ , ( unsigned int ) ( @@v40@@ / Number ) ) ; } else { if ( @@v21@@ != Number ) return Number L ; ( * ( void ( __fastcall * * ) ( _QWORD , void * , _QWORD ) ) ( @@v30@@ + Number ) ) ( * ( _QWORD * ) ( @@v30@@ + Number ) , @@src@@ , ( unsigned int ) ( @@v40@@ / Number ) ) ; } @@src@@ = * ( void * * ) ( @@v30@@ + Number ) ; } if ( ( * ( _QWORD * ) ( @@v27@@ + Number ) & Number L ) != Number ) scale16be ( ( _DWORD * ) @@a1@@ , ( __int64 ) @@v23@@ , ( __int64 ) @@src@@ , @@v40@@ , @@v22@@ ) ; else scale16le ( ( _DWORD * ) @@a1@@ , ( __int64 ) @@v23@@ , ( __int64 ) @@src@@ , @@v40@@ , @@v22@@ ) ; @@src@@ = @@v23@@ ; } else if ( @@v25@@ ) { memcpy ( * ( void * * ) ( * ( _QWORD * ) ( @@v29@@ + Number ) + Number L ) , @@src@@ , @@v40@@ ) ; @@src@@ = * ( void * * ) ( * ( _QWORD * ) ( @@v29@@ + Number ) + Number L ) ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) @@src@@ = ( char * ) @@src@@ + @@v40@@ - * ( _DWORD * ) ( @@v30@@ + Number ) ; v10 = * ( _DWORD * ) ( @@v30@@ + Number ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) v11 = Number ; else v11 = Number ; @@v18@@ = v10 - v11 ; if ( @@v40@@ < v10 - v11 && ( ( * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) != Number || ! @@v25@@ ) ) { av_log ( @@a1@@ , Number L , String , ( unsigned int ) @@v40@@ , @@v18@@ ) ; av_buffer_unref ( @@v29@@ + Number ) ; return Number L ; } @@v24@@ = av_image_fill_arrays ( @@v29@@ , @@v29@@ + Number , @@src@@ , * ( unsigned int * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) , Number L ) ; if ( ( @@v24@@ & Number ) != Number ) { av_buffer_unref ( @@v29@@ + Number ) ; return @@v24@@ ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { @@v34@@ = ( void * ) av_packet_get_side_data ( @@a4@@ , Number L , & @@v15@@ ) ; if ( @@v34@@ && @@v15@@ != Number ) { av_log ( @@a1@@ , Number L , String , @@v15@@ ) ; @@v34@@ = Number L ; } if ( @@v34@@ ) { av_buffer_unref ( @@v30@@ + Number ) ; * ( _QWORD * ) ( @@v30@@ + Number ) = av_buffer_alloc ( Number L ) ; if ( ! * ( _QWORD * ) ( @@v30@@ + Number ) ) { LABEL_141 : av_buffer_unref ( @@v29@@ + Number ) ; return Number L ; } memcpy ( * ( void * * ) ( * ( _QWORD * ) ( @@v30@@ + Number ) + Number L ) , @@v34@@ , Number ) ; * ( _DWORD * ) ( @@v29@@ + Number ) = Number ; } } if ( ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) && @@v40@@ >= ( - @@v39@@ & ( * ( _DWORD * ) ( @@v29@@ + Number ) + @@v39@@ - Number ) ) * * ( _DWORD * ) ( @@a1@@ + Number ) ) { * ( _DWORD * ) ( @@v29@@ + Number ) = - @@v39@@ & ( * ( _DWORD * ) ( @@v29@@ + Number ) + @@v39@@ - Number ) ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number && * ( _DWORD * ) ( @@a1@@ + Number ) == Number && @@v40@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) * ( - @@v39@@ & ( * ( _DWORD * ) ( @@v29@@ + Number ) + @@v39@@ - Number ) ) + ( - @@v39@@ & ( * ( _DWORD * ) ( @@v29@@ + Number ) + @@v39@@ - Number ) ) * ( ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) / Number ) ) { @@v17@@ = ( * ( _DWORD * ) ( @@v29@@ + Number ) + @@v39@@ - Number ) & - @@v39@@ ; * ( _QWORD * ) ( @@v29@@ + Number ) += ( @@v17@@ - * ( _DWORD * ) ( @@v29@@ + Number ) ) * * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@v29@@ + Number ) = @@v17@@ ; * ( _DWORD * ) ( @@v29@@ + Number ) = - @@v39@@ & ( * ( _DWORD * ) ( @@v29@@ + Number ) + @@v39@@ - Number ) ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number && @@v40@@ < * ( _DWORD * ) ( @@v30@@ + Number ) || ( * ( _QWORD * ) ( @@v27@@ + Number ) & Number ) != Number ) { v12 = av_buffer_ref ( * ( _QWORD * ) ( @@v30@@ + Number ) ) ; * ( _QWORD * ) ( @@v29@@ + Number ) = v12 ; if ( ! * ( _QWORD * ) ( @@v29@@ + Number ) ) goto LABEL_141 ; * ( _QWORD * ) ( @@v29@@ + Number ) = * ( _QWORD * ) ( * ( _QWORD * ) ( @@v29@@ + Number ) + Number L ) ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number && @@v40@@ >= ( int ) ( ( ( * ( _DWORD * ) ( @@v29@@ + Number ) + Number ) & Number ) * * ( _DWORD * ) ( @@a1@@ + Number ) ) ) * ( _DWORD * ) ( @@v29@@ + Number ) = ( * ( _DWORD * ) ( @@v29@@ + Number ) + Number ) & Number ; if ( * ( _DWORD * ) ( @@v30@@ + Number ) ) flip ( @@a1@@ , @@v29@@ ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { @@v16@@ = * ( _QWORD * ) ( @@v29@@ + Number ) ; * ( _QWORD * ) ( @@v29@@ + Number ) = * ( _QWORD * ) ( @@v29@@ + Number ) ; * ( _QWORD * ) ( @@v29@@ + Number ) = @@v16@@ ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == * ( _DWORD * ) String && @@v40@@ == Number * ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) * ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) / Number ) { * ( _QWORD * ) ( @@v29@@ + Number ) += ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) * ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) - ( __int64 ) ( * ( _DWORD * ) ( @@a1@@ + Number ) * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@v29@@ + Number ) += Number * ( ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) * ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) - * ( _DWORD * ) ( @@a1@@ + Number ) * * ( _DWORD * ) ( @@a1@@ + Number ) ) / Number ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == * ( _DWORD * ) String && * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { @@v31@@ = * ( _QWORD * ) @@v29@@ ; for ( @@j@@ = Number ; @@j@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ; ++ @@j@@ ) { for ( @@k@@ = Number ; @@k@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ; ++ @@k@@ ) * ( _BYTE * ) ( Number * @@k@@ + Number L + @@v31@@ ) ^= Number ; @@v31@@ += * ( int * ) ( @@v29@@ + Number ) ; } } if ( * ( _DWORD * ) ( @@a1@@ + Number ) > Number ) { * ( _DWORD * ) ( @@v29@@ + Number ) = Number ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number || * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) * ( _DWORD * ) ( @@v29@@ + Number ) = Number ; } * @@a3@@ = Number ; return ( unsigned int ) @@v40@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "_DWORD"}, "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": "v26", "t": {"T": 1, "n": "int", "s": 4}, "location": "s100"}, {"n": "v25", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "s104"}, {"n": "v24", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s108"}, {"n": "v23", "t": {"T": 3, "t": "void"}, "location": "s120"}, {"n": "v22", "t": {"T": 1, "n": "int", "s": 4}, "location": "s124"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s128"}, {"n": "v20", "t": {"T": 3, "t": "_BYTE"}, "location": "s136"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s140"}, {"n": "v18", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s144"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s148"}, {"n": "src", "t": {"T": 3, "t": "void"}, "location": "s16"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s160"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s164"}, {"n": "v40", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v39", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v38", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v37", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v35", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v34", "t": {"T": 3, "t": "void"}, "location": "s48"}, {"n": "k", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "j", "t": {"T": 1, "n": "int", "s": 4}, "location": "s56"}, {"n": "v31", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v30", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v29", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}, {"n": "v27", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s96"}]}