{"name": "audio_open", "code": "__int64 __fastcall audio_open ( __int64 @@a1@@ , int @@a2@@ , const char * @@a3@@ ) { int * v3 ; char * v4 ; int * v6 ; char * v7 ; int * v8 ; char * v9 ; int * v10 ; char * v11 ; int @@v13@@ ; int @@v14@@ ; char * @@v15@@ ; __int64 @@v16@@ ; int @@fd@@ ; @@v16@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v15@@ = getenv ( String ) ; if ( @@a2@@ ) @@fd@@ = open64 ( @@a3@@ , Number ) ; else @@fd@@ = open64 ( @@a3@@ , Number ) ; if ( @@fd@@ < Number ) { v3 = _errno_location ( ) ; v4 = strerror ( * v3 ) ; av_log ( @@a1@@ , Number L , String , @@a3@@ , v4 ) ; return Number L ; } if ( @@v15@@ && * @@v15@@ == Number ) * ( _BYTE * ) ( @@v16@@ + Number ) |= Number ; if ( ! @@a2@@ ) fcntl64 ( ( unsigned int ) @@fd@@ , Number L , Number L ) ; * ( _DWORD * ) ( @@v16@@ + Number ) = Number ; @@v14@@ = ioctl ( @@fd@@ , Number , & @@v13@@ ) ; if ( ( @@v13@@ & Number ) != Number ) { @@v13@@ = Number ; } else if ( ( @@v13@@ & Number ) != Number ) { @@v13@@ = Number ; } else { @@v13@@ = Number ; } if ( @@v13@@ == Number ) { * ( _DWORD * ) ( @@v16@@ + Number ) = Number ; } else { if ( @@v13@@ != Number ) { av_log ( @@a1@@ , Number L , String ) ; close ( @@fd@@ ) ; return Number L ; } * ( _DWORD * ) ( @@v16@@ + Number ) = Number ; } @@v14@@ = ioctl ( @@fd@@ , Number , & @@v13@@ ) ; if ( @@v14@@ >= Number ) { @@v13@@ = * ( _DWORD * ) ( @@v16@@ + Number ) == Number ; @@v14@@ = ioctl ( @@fd@@ , Number , & @@v13@@ ) ; if ( @@v14@@ >= Number ) { @@v13@@ = * ( _DWORD * ) ( @@v16@@ + Number ) ; @@v14@@ = ioctl ( @@fd@@ , Number , & @@v13@@ ) ; if ( @@v14@@ >= Number ) { * ( _DWORD * ) ( @@v16@@ + Number ) = @@v13@@ ; * ( _DWORD * ) ( @@v16@@ + Number ) = @@fd@@ ; return Number L ; } v10 = _errno_location ( ) ; v11 = strerror ( * v10 ) ; av_log ( @@a1@@ , Number L , String , v11 ) ; } else { v8 = _errno_location ( ) ; v9 = strerror ( * v8 ) ; av_log ( @@a1@@ , Number L , String , v9 ) ; } } else { v6 = _errno_location ( ) ; v7 = strerror ( * v6 ) ; av_log ( @@a1@@ , Number L , String , v7 ) ; } close ( @@fd@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v15", "t": {"T": 3, "t": "char"}, "location": "s32"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}]}
{"name": "audio_write_header", "code": "__int64 __fastcall audio_write_header ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@v2@@ ; __int64 @@v3@@ ; @@v3@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v2@@ = * * ( _QWORD * * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@v3@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v2@@ + Number ) + Number L ) ; * ( _DWORD * ) ( @@v3@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v2@@ + Number ) + Number L ) ; if ( ( int ) audio_open ( @@a1@@ , Number , ( const char * ) ( @@a1@@ + Number ) ) >= Number ) @@result@@ = Number L ; else @@result@@ = Number L ; 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": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]} {"name": "audio_read_header", "code": "__int64 __fastcall audio_read_header ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; _DWORD * @@v4@@ ; @@v4@@ = * ( _DWORD * * ) ( @@a1@@ + Number ) ; if ( * ( int * ) ( @@a2@@ + Number ) > Number ) @@v4@@ [ Number ] = * ( _DWORD * ) ( @@a2@@ + Number ) ; if ( * ( int * ) ( @@a2@@ + Number ) > Number ) @@v4@@ [ Number ] = * ( _DWORD * ) ( @@a2@@ + Number ) ; @@v3@@ = av_new_stream ( @@a1@@ , Number L ) ; if ( ! @@v3@@ ) return Number L ; if ( ( int ) audio_open ( @@a1@@ , Number , ( const char * ) ( @@a1@@ + Number ) ) < Number ) return Number L ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) = @@v4@@ [ Number ] ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) = @@v4@@ [ Number ] ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) = @@v4@@ [ Number ] ; av_set_pts_info ( @@v3@@ , Number L , Number L , Number L ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 3, "t": "_DWORD"}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]}