{"name": "AUD_set_active_out", "code": "void __fastcall AUD_set_active_out ( __int64 @@a1@@ , int @@a2@@ ) { unsigned int @@v2@@ ; int @@v3@@ ; __int64 @@i@@ ; __int64 @@j@@ ; __int64 @@v6@@ ; if ( @@a1@@ ) { @@v6@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@a2@@ != * ( _DWORD * ) ( @@a1@@ + Number ) ) { if ( @@a2@@ ) { * ( _DWORD * ) ( @@v6@@ + Number ) = Number ; if ( ! * ( _DWORD * ) @@v6@@ ) { * ( _DWORD * ) @@v6@@ = Number ; if ( * ( ( _DWORD * ) & glob_audio_state + Number ) ) { if ( replay_mode ) @@v2@@ = Number ; else @@v2@@ = dword_654C ; ( * ( void ( __fastcall * * ) ( __int64 , __int64 , _QWORD ) ) ( * ( _QWORD * ) ( @@v6@@ + Number ) + Number L ) ) ( @@v6@@ , Number L , @@v2@@ ) ; audio_reset_timer ( ( __int64 ) & glob_audio_state ) ; } } } else if ( * ( _DWORD * ) @@v6@@ ) { @@v3@@ = Number ; for ( @@i@@ = * ( _QWORD * ) ( @@v6@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) @@v3@@ += * ( _DWORD * ) ( @@i@@ + Number ) != Number ; * ( _DWORD * ) ( @@v6@@ + Number ) = @@v3@@ == Number ; } for ( @@j@@ = * ( _QWORD * ) ( @@v6@@ + Number ) ; @@j@@ ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) { * ( _DWORD * ) ( @@j@@ + Number ) = * ( _DWORD * ) @@v6@@ ; if ( * ( _DWORD * ) @@v6@@ ) audio_capture_maybe_changed ( * ( _DWORD * * ) ( @@j@@ + Number ) , Number ) ; } * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; } } }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r8"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "j", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}]}