; ; FMOD::DSP::setActive from 0x1800a35c0 to 0x1800a3695 (213 bytes) ; ; 4 xrefs: ; > FMOD_DSP_SetActive @ 0x1800c5e0e ; > sub_1800DBAC0 @ 0x1800dbb3e ; > @ 0x180194348 ; > @ 0x1801fb3dc ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_10], rbx ; +0x0, 0x1800a35c0 mov [rsp+arg_18], rsi ; +0x5, 0x1800a35c5 push rdi ; +0xa, 0x1800a35ca sub rsp, 150h ; +0xb, 0x1800a35cb mov rax, cs:__security_cookie ; +0x12, 0x1800a35d2 xor rax, rsp ; +0x19, 0x1800a35d9 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800a35dc movzx edi, dl ; +0x24, 0x1800a35e4 mov [rsp+158h+var_128], 0 ; +0x27, 0x1800a35e7 lea rdx, [rsp+158h+var_120] ; +0x30, 0x1800a35f0 mov rsi, rcx ; +0x35, 0x1800a35f5 lea r8, [rsp+158h+var_128] ; +0x38, 0x1800a35f8 call ?validate@DSPI@FMOD@@SA?AW4FMOD_RESULT@@PEAVDSP@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI * *,FMOD::SystemLockScope *) ; +0x3d, 0x1800a35fd mov ebx, eax ; +0x42, 0x1800a3602 test eax, eax ; +0x44, 0x1800a3604 jnz short loc_1800A361F ; +0x46, 0x1800a3606 mov rcx, [rsp+158h+var_120] ; +0x48, 0x1800a3608 mov r8b, 1 ; +0x4d, 0x1800a360d movzx edx, dil ; +0x50, 0x1800a3610 call sub_18009B6A0 ; +0x54, 0x1800a3614 mov ebx, eax ; +0x59, 0x1800a3619 test eax, eax ; +0x5b, 0x1800a361b jz short loc_1800A365F ; +0x5d, 0x1800a361d mov rax, cs:off_1801AED20 ; +0x5f, 0x1800a361f test byte ptr [rax+10h], 80h ; +0x66, 0x1800a3626 jz short loc_1800A365F ; +0x6a, 0x1800a362a movzx r8d, dil ; +0x6c, 0x1800a362c lea rcx, [rsp+158h+var_118]; void * ; +0x70, 0x1800a3630 mov edx, 100h ; +0x75, 0x1800a3635 call sub_1800F3320 ; +0x7a, 0x1800a363a lea rax, [rsp+158h+var_118] ; +0x7f, 0x1800a363f mov r8, rsi ; +0x84, 0x1800a3644 lea r9, aDspSetactive; "DSP::setActive" ; +0x87, 0x1800a3647 mov [rsp+158h+var_138], rax ; +0x8e, 0x1800a364e mov edx, 7 ; +0x93, 0x1800a3653 mov ecx, ebx ; +0x98, 0x1800a3658 call sub_1800B20E0 ; +0x9a, 0x1800a365a mov rcx, [rsp+158h+var_128] ; +0x9f, 0x1800a365f test rcx, rcx ; +0xa4, 0x1800a3664 jz short loc_1800A366E ; +0xa7, 0x1800a3667 call sub_180102320 ; +0xa9, 0x1800a3669 mov eax, ebx ; +0xae, 0x1800a366e mov rcx, [rsp+158h+var_18] ; +0xb0, 0x1800a3670 xor rcx, rsp; StackCookie ; +0xb8, 0x1800a3678 call __security_check_cookie ; +0xbb, 0x1800a367b lea r11, [rsp+158h+var_8] ; +0xc0, 0x1800a3680 mov rbx, [r11+20h] ; +0xc8, 0x1800a3688 mov rsi, [r11+28h] ; +0xcc, 0x1800a368c mov rsp, r11 ; +0xd0, 0x1800a3690 pop rdi ; +0xd3, 0x1800a3693 retn ; +0xd4, 0x1800a3694