; ; FMOD::DSP::setBypass from 0x1800a36a0 to 0x1800a3772 (210 bytes) ; ; 4 xrefs: ; > FMOD_DSP_SetBypass @ 0x1800c5e2e ; > sub_1800DBAC0 @ 0x1800dbb5a ; > @ 0x180194348 ; > @ 0x1801fb3e8 ; ; 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, 0x1800a36a0 mov [rsp+arg_18], rsi ; +0x5, 0x1800a36a5 push rdi ; +0xa, 0x1800a36aa sub rsp, 150h ; +0xb, 0x1800a36ab mov rax, cs:__security_cookie ; +0x12, 0x1800a36b2 xor rax, rsp ; +0x19, 0x1800a36b9 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800a36bc movzx edi, dl ; +0x24, 0x1800a36c4 mov [rsp+158h+var_128], 0 ; +0x27, 0x1800a36c7 lea rdx, [rsp+158h+var_120] ; +0x30, 0x1800a36d0 mov rsi, rcx ; +0x35, 0x1800a36d5 lea r8, [rsp+158h+var_128] ; +0x38, 0x1800a36d8 call ?validate@DSPI@FMOD@@SA?AW4FMOD_RESULT@@PEAVDSP@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI * *,FMOD::SystemLockScope *) ; +0x3d, 0x1800a36dd mov ebx, eax ; +0x42, 0x1800a36e2 test eax, eax ; +0x44, 0x1800a36e4 jnz short loc_1800A36FC ; +0x46, 0x1800a36e6 mov rcx, [rsp+158h+var_120] ; +0x48, 0x1800a36e8 movzx edx, dil ; +0x4d, 0x1800a36ed call sub_18009B7E0 ; +0x51, 0x1800a36f1 mov ebx, eax ; +0x56, 0x1800a36f6 test eax, eax ; +0x58, 0x1800a36f8 jz short loc_1800A373C ; +0x5a, 0x1800a36fa mov rax, cs:off_1801AED20 ; +0x5c, 0x1800a36fc test byte ptr [rax+10h], 80h ; +0x63, 0x1800a3703 jz short loc_1800A373C ; +0x67, 0x1800a3707 movzx r8d, dil ; +0x69, 0x1800a3709 lea rcx, [rsp+158h+var_118]; void * ; +0x6d, 0x1800a370d mov edx, 100h ; +0x72, 0x1800a3712 call sub_1800F3320 ; +0x77, 0x1800a3717 lea rax, [rsp+158h+var_118] ; +0x7c, 0x1800a371c mov r8, rsi ; +0x81, 0x1800a3721 lea r9, aDspSetbypass; "DSP::setBypass" ; +0x84, 0x1800a3724 mov [rsp+158h+var_138], rax ; +0x8b, 0x1800a372b mov edx, 7 ; +0x90, 0x1800a3730 mov ecx, ebx ; +0x95, 0x1800a3735 call sub_1800B20E0 ; +0x97, 0x1800a3737 mov rcx, [rsp+158h+var_128] ; +0x9c, 0x1800a373c test rcx, rcx ; +0xa1, 0x1800a3741 jz short loc_1800A374B ; +0xa4, 0x1800a3744 call sub_180102320 ; +0xa6, 0x1800a3746 mov eax, ebx ; +0xab, 0x1800a374b mov rcx, [rsp+158h+var_18] ; +0xad, 0x1800a374d xor rcx, rsp; StackCookie ; +0xb5, 0x1800a3755 call __security_check_cookie ; +0xb8, 0x1800a3758 lea r11, [rsp+158h+var_8] ; +0xbd, 0x1800a375d mov rbx, [r11+20h] ; +0xc5, 0x1800a3765 mov rsi, [r11+28h] ; +0xc9, 0x1800a3769 mov rsp, r11 ; +0xcd, 0x1800a376d pop rdi ; +0xd0, 0x1800a3770 retn ; +0xd1, 0x1800a3771