{"name": "audio_capture_mix_and_clear", "code": "__int64 __fastcall audio_capture_mix_and_clear ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , __int64 @@a4@@ , __int64 @@a5@@ , __int64 @@a6@@ ) { int v6 ; int v7 ; int v8 ; unsigned __int64 @@v10@@ ; unsigned __int64 j ; int v12 ; int @@v13@@ ; unsigned int @@v14@@ ; unsigned int @@v15@@ ; __int64 @@i@@ ; @@v10@@ = __PAIR64__ ( @@a2@@ , @@a3@@ ) ; if ( * ( _DWORD * ) @@a1@@ ) { for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { for ( j = @@v10@@ ; ( _DWORD ) j ; HIDWORD ( j ) = ( @@v13@@ + HIDWORD ( j ) ) % * ( _DWORD * ) ( @@a1@@ + Number ) ) { v6 = j ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) - HIDWORD ( j ) <= ( int ) j ) v6 = * ( _DWORD * ) ( @@a1@@ + Number ) - HIDWORD ( j ) ; @@v13@@ = v6 ; v7 = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v14@@ = v6 << v7 ; * ( _QWORD * ) ( @@i@@ + Number ) = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * SHIDWORD ( j ) ; @@v15@@ = audio_pcm_sw_write ( @@i@@ , Number L , ( unsigned int ) ( v6 << v7 ) , v7 , @@a5@@ , @@a6@@ ) ; if ( @@v15@@ != @@v14@@ ) { AUD_log ( String , String , @@v14@@ , @@v15@@ , @@a5@@ , @@a6@@ ) ; break ; } LODWORD ( j ) = j - @@v13@@ ; } } } v8 = * ( _DWORD * ) ( @@a1@@ + Number ) - @@a2@@ ; if ( ( int ) @@v10@@ <= v8 ) v8 = @@v10@@ ; v12 = v8 ; mixeng_clear ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@a2@@ , ( unsigned int ) v8 ) ; return mixeng_clear ( * ( _QWORD * ) ( @@a1@@ + Number ) , ( unsigned int ) ( @@v10@@ - v12 ) ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "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": "unsigned int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "a6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v14", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s32"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s80"}]}