{"name": "audio_read_packet", "code": "__int64 __fastcall audio_read_packet ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; char @@v3@@ [ Number ] ; int @@v4@@ ; __int64 @@v5@@ ; int @@v6@@ ; __int64 @@v7@@ ; _WORD * @@v8@@ ; int @@i@@ ; int @@v10@@ ; @@v7@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v6@@ = av_new_packet ( @@a2@@ , * ( unsigned int * ) ( @@v7@@ + Number ) ) ; if ( @@v6@@ < Number ) return ( unsigned int ) @@v6@@ ; @@v6@@ = read ( * ( _DWORD * ) ( @@v7@@ + Number ) , * ( void * * ) ( @@a2@@ + Number ) , * ( int * ) ( @@a2@@ + Number ) ) ; if ( @@v6@@ > Number ) { * ( _DWORD * ) ( @@a2@@ + Number ) = @@v6@@ ; @@v5@@ = av_gettime ( ) ; @@v10@@ = @@v6@@ ; if ( ! ioctl ( * ( _DWORD * ) ( @@v7@@ + Number ) , Number , @@v3@@ ) ) @@v10@@ += @@v4@@ ; @@v5@@ -= Number L * @@v10@@ / ( * ( _DWORD * ) ( @@v7@@ + Number ) * * ( _DWORD * ) ( @@v7@@ + Number ) ) ; * ( _QWORD * ) @@a2@@ = @@v5@@ ; if ( ( * ( _BYTE * ) ( @@v7@@ + Number ) & Number ) != Number && * ( _DWORD * ) ( @@v7@@ + Number ) == Number ) { @@v8@@ = * ( _WORD * * ) ( @@a2@@ + Number ) ; for ( @@i@@ = Number ; @@i@@ < @@v6@@ ; @@i@@ += Number ) { * @@v8@@ = ~ * @@v8@@ ; @@v8@@ += Number ; } } @@result@@ = Number L ; } else { av_free_packet ( @@a2@@ ) ; * ( _DWORD * ) ( @@a2@@ + Number ) = Number ; if ( @@v6@@ >= Number ) @@result@@ = Number L ; else @@result@@ = ( unsigned int ) - * _errno_location ( ) ; } 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": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v8", "t": {"T": 3, "t": "_WORD"}, "location": "s24"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}, {"n": "v3", "t": {"T": 2, "n": 12, "s": 1, "t": "char"}, "location": "s72"}]}