{"name": "AUD_add_capture", "code": "__int64 __fastcall AUD_add_capture ( unsigned int * @@a1@@ , _QWORD * @@a2@@ , __int64 @@a3@@ ) { __int64 v3 ; __int64 v4 ; __int64 v5 ; __int64 v6 ; __int64 v7 ; __int64 v8 ; __int64 v9 ; __int64 v10 ; __int64 v11 ; __int64 v12 ; __int64 v13 ; __int64 v14 ; int v15 ; int v16 ; int v17 ; __int64 v19 ; __int64 v20 ; __int64 v21 ; __int64 v22 ; __int64 v23 ; __int64 v24 ; __int64 v25 ; int v26 ; int v27 ; int v28 ; __int64 v29 ; __int64 v30 ; _BOOL4 @@v31@@ ; int @@v32@@ ; int @@v33@@ ; __int64 @@i@@ ; __int64 @@v36@@ ; _QWORD * @@v37@@ ; __int64 @@v38@@ ; __int64 @@v39@@ ; if ( ( unsigned int ) audio_validate_settings ( @@a1@@ ) ) { AUD_log ( String , String , v3 , v4 , v5 , v6 ) ; audio_print_settings ( @@a1@@ , ( __int64 ) String , v7 , v8 , v9 , v10 ) ; return Number L ; } @@v37@@ = ( _QWORD * ) audio_calloc ( ( int ) String , Number , Number , v4 , v5 , v6 ) ; if ( ! @@v37@@ ) { AUD_log ( String , String , Number L , v11 , v12 , v13 ) ; return Number L ; } v14 = @@a2@@ [ Number ] ; * @@v37@@ = * @@a2@@ ; @@v37@@ [ Number ] = v14 ; @@v37@@ [ Number ] = @@a2@@ [ Number ] ; @@v37@@ [ Number ] = @@a3@@ ; @@v38@@ = audio_pcm_capture_find_specific ( @@a1@@ ) ; if ( @@v38@@ ) { @@v37@@ [ Number ] = * ( _QWORD * ) ( @@v38@@ + Number ) ; if ( @@v37@@ [ Number ] ) * ( _QWORD * ) ( * ( _QWORD * ) ( @@v38@@ + Number ) + Number L ) = @@v37@@ + Number ; * ( _QWORD * ) ( @@v38@@ + Number ) = @@v37@@ ; @@v37@@ [ Number ] = @@v38@@ + Number ; return @@v38@@ ; } @@v39@@ = audio_calloc ( ( int ) String , Number , Number , v15 , v16 , v17 ) ; if ( ! @@v39@@ ) { AUD_log ( String , String , Number L , v19 , v20 , v21 ) ; LABEL_24 : g_free ( @@v37@@ ) ; return Number L ; } * ( _QWORD * ) ( @@v39@@ + Number ) = Number L ; * ( _QWORD * ) ( @@v39@@ + Number ) = Number L ; * ( _DWORD * ) ( @@v39@@ + Number ) = Number ; * ( _QWORD * ) ( @@v39@@ + Number ) = audio_calloc ( ( int ) String , * ( _DWORD * ) ( @@v39@@ + Number ) , Number , v19 , v20 , v21 ) ; if ( ! * ( _QWORD * ) ( @@v39@@ + Number ) ) { AUD_log ( String , String , * ( unsigned int * ) ( @@v39@@ + Number ) , v22 , v23 , v24 ) ; LABEL_23 : g_free ( @@v39@@ ) ; goto LABEL_24 ; } audio_pcm_init_info ( ( int * ) ( @@v39@@ + Number ) , ( int * ) @@a1@@ ) ; v25 = * ( unsigned int * ) ( @@v39@@ + Number ) ; * ( _QWORD * ) ( @@v39@@ + Number ) = audio_calloc ( ( int ) String , v25 , Number << * ( _DWORD * ) ( @@v39@@ + Number ) , * ( _DWORD * ) ( @@v39@@ + Number ) , v26 , v27 ) ; if ( ! * ( _QWORD * ) ( @@v39@@ + Number ) ) { AUD_log ( String , String , * ( unsigned int * ) ( @@v39@@ + Number ) , ( unsigned int ) ( Number << * ( _DWORD * ) ( @@v39@@ + Number ) ) , v29 , v30 ) ; g_free ( * ( _QWORD * ) ( @@v39@@ + Number ) ) ; goto LABEL_23 ; } @@v31@@ = * ( _DWORD * ) ( @@v39@@ + Number ) == Number ; @@v32@@ = * ( _DWORD * ) ( @@v39@@ + Number ) ; @@v33@@ = * ( _DWORD * ) ( @@v39@@ + Number ) ; * ( _QWORD * ) ( @@v39@@ + Number ) = mixeng_clip [ Number * @@v31@@ + Number * @@v32@@ + Number * @@v33@@ + ( int ) audio_bits_to_index ( * ( _DWORD * ) ( @@v39@@ + Number ) , v25 , @@v39@@ , v28 , v29 , v30 ) ] ; * ( _QWORD * ) ( @@v39@@ + Number ) = glob_audio_state [ Number ] ; if ( * ( _QWORD * ) ( @@v39@@ + Number ) ) * ( _QWORD * ) ( glob_audio_state [ Number ] + Number ) = @@v39@@ + Number ; glob_audio_state [ Number ] = @@v39@@ ; * ( _QWORD * ) ( @@v39@@ + Number ) = & glob_audio_state [ Number ] ; @@v37@@ [ Number ] = * ( _QWORD * ) ( @@v39@@ + Number ) ; if ( @@v37@@ [ Number ] ) * ( _QWORD * ) ( * ( _QWORD * ) ( @@v39@@ + Number ) + Number L ) = @@v37@@ + Number ; * ( _QWORD * ) ( @@v39@@ + Number ) = @@v37@@ ; @@v37@@ [ Number ] = @@v39@@ + Number ; for ( @@i@@ = audio_pcm_hw_find_any_out ( Number L ) ; ; @@i@@ = audio_pcm_hw_find_any_out ( @@v36@@ ) ) { @@v36@@ = @@i@@ ; if ( ! @@i@@ ) break ; audio_attach_capture ( @@i@@ ) ; } return @@v39@@ ; }", "source": [{"n": "v33", "t": {"T": 1, "n": "int", "s": 4}, "location": "r104"}, {"n": "v32", "t": {"T": 1, "n": "int", "s": 4}, "location": "r112"}, {"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "v31", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 3, "t": "unsigned int"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v39", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v38", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v37", "t": {"T": 3, "t": "_QWORD"}, "location": "s56"}, {"n": "v36", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}]}