; ; FMOD::DSP::getBypass from 0x1800a1730 to 0x1800a1807 (215 bytes) ; ; 3 xrefs: ; > FMOD_DSP_GetBypass @ 0x1800c5b8c ; > @ 0x180194348 ; > @ 0x1801fb088 ; ; 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, 0x1800a1730 mov [rsp+arg_18], rsi ; +0x5, 0x1800a1735 push rdi ; +0xa, 0x1800a173a sub rsp, 150h ; +0xb, 0x1800a173b mov rax, cs:__security_cookie ; +0x12, 0x1800a1742 xor rax, rsp ; +0x19, 0x1800a1749 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800a174c mov rdi, rdx ; +0x24, 0x1800a1754 mov [rsp+158h+var_128], 0 ; +0x27, 0x1800a1757 lea rdx, [rsp+158h+var_120] ; +0x30, 0x1800a1760 mov rsi, rcx ; +0x35, 0x1800a1765 lea r8, [rsp+158h+var_128] ; +0x38, 0x1800a1768 call ?validate@DSPI@FMOD@@SA?AW4FMOD_RESULT@@PEAVDSP@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI * *,FMOD::SystemLockScope *) ; +0x3d, 0x1800a176d mov ebx, eax ; +0x42, 0x1800a1772 test eax, eax ; +0x44, 0x1800a1774 jnz short loc_1800A1780 ; +0x46, 0x1800a1776 test rdi, rdi ; +0x48, 0x1800a1778 jnz short loc_1800A17F5 ; +0x4b, 0x1800a177b lea ebx, [rax+1Fh] ; +0x4d, 0x1800a177d mov rax, cs:off_1801AED20 ; +0x50, 0x1800a1780 test byte ptr [rax+10h], 80h ; +0x57, 0x1800a1787 jz short loc_1800A17BF ; +0x5b, 0x1800a178b mov r8, rdi ; +0x5d, 0x1800a178d lea rcx, [rsp+158h+var_118] ; +0x60, 0x1800a1790 mov edx, 100h ; +0x65, 0x1800a1795 call sub_1800F32C0 ; +0x6a, 0x1800a179a lea rax, [rsp+158h+var_118] ; +0x6f, 0x1800a179f mov r8, rsi ; +0x74, 0x1800a17a4 lea r9, aDspGetbypass; "DSP::getBypass" ; +0x77, 0x1800a17a7 mov [rsp+158h+var_138], rax ; +0x7e, 0x1800a17ae mov edx, 7 ; +0x83, 0x1800a17b3 mov ecx, ebx ; +0x88, 0x1800a17b8 call sub_1800B20E0 ; +0x8a, 0x1800a17ba mov rcx, [rsp+158h+var_128] ; +0x8f, 0x1800a17bf test rcx, rcx ; +0x94, 0x1800a17c4 jz short loc_1800A17CE ; +0x97, 0x1800a17c7 call sub_180102320 ; +0x99, 0x1800a17c9 mov eax, ebx ; +0x9e, 0x1800a17ce mov rcx, [rsp+158h+var_18] ; +0xa0, 0x1800a17d0 xor rcx, rsp; StackCookie ; +0xa8, 0x1800a17d8 call __security_check_cookie ; +0xab, 0x1800a17db lea r11, [rsp+158h+var_8] ; +0xb0, 0x1800a17e0 mov rbx, [r11+20h] ; +0xb8, 0x1800a17e8 mov rsi, [r11+28h] ; +0xbc, 0x1800a17ec mov rsp, r11 ; +0xc0, 0x1800a17f0 pop rdi ; +0xc3, 0x1800a17f3 retn ; +0xc4, 0x1800a17f4 mov rax, [rsp+158h+var_120] ; +0xc5, 0x1800a17f5 mov ecx, [rax+64h] ; +0xca, 0x1800a17fa nop ; +0xcd, 0x1800a17fd and cl, 1 ; +0xce, 0x1800a17fe mov [rdi], cl ; +0xd1, 0x1800a1801 xor ebx, ebx ; +0xd3, 0x1800a1803 jmp short loc_1800A17BF ; +0xd5, 0x1800a1805