{"name": "AUD_set_active_in", "code": "__int64 __fastcall AUD_set_active_in ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; int @@v3@@ ; __int64 @@i@@ ; __int64 @@v5@@ ; if ( @@a1@@ ) { @@v5@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; if ( @@a2@@ != ( _DWORD ) @@result@@ ) { if ( @@a2@@ ) { if ( ! * ( _DWORD * ) @@v5@@ ) { * ( _DWORD * ) @@v5@@ = Number ; if ( * ( ( _DWORD * ) & glob_audio_state + Number ) ) { ( * ( void ( __fastcall * * ) ( __int64 , __int64 , _QWORD ) ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ) ( @@v5@@ , Number L , ( unsigned int ) dword_6548 ) ; audio_reset_timer ( ( __int64 ) & glob_audio_state ) ; } } * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@v5@@ + Number ) ; } else if ( * ( _DWORD * ) @@v5@@ ) { @@v3@@ = Number ; for ( @@i@@ = * ( _QWORD * ) ( @@v5@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) @@v3@@ += * ( _DWORD * ) ( @@i@@ + Number ) != Number ; if ( @@v3@@ == Number ) { * ( _DWORD * ) @@v5@@ = Number ; ( * ( void ( __fastcall * * ) ( __int64 , __int64 ) ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ) ( @@v5@@ , Number L ) ; } } @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}]}