; ; FMOD::DSP::reset from 0x1800a3500 to 0x1800a35b4 (180 bytes) ; ; 3 xrefs: ; > FMOD_DSP_Reset @ 0x1800c5df9 ; > @ 0x180194348 ; > @ 0x1801fb3d0 ; ; 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_8], rbx ; +0x0, 0x1800a3500 push rdi ; +0x5, 0x1800a3505 sub rsp, 150h ; +0x6, 0x1800a3506 mov rax, cs:__security_cookie ; +0xd, 0x1800a350d xor rax, rsp ; +0x14, 0x1800a3514 mov [rsp+158h+var_18], rax ; +0x17, 0x1800a3517 lea r8, [rsp+158h+var_128] ; +0x1f, 0x1800a351f mov [rsp+158h+var_128], 0 ; +0x24, 0x1800a3524 lea rdx, [rsp+158h+var_120] ; +0x2d, 0x1800a352d mov rdi, rcx ; +0x32, 0x1800a3532 call ?validate@DSPI@FMOD@@SA?AW4FMOD_RESULT@@PEAVDSP@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI * *,FMOD::SystemLockScope *) ; +0x35, 0x1800a3535 mov ebx, eax ; +0x3a, 0x1800a353a test eax, eax ; +0x3c, 0x1800a353c jnz short loc_1800A3550 ; +0x3e, 0x1800a353e mov rcx, [rsp+158h+var_120] ; +0x40, 0x1800a3540 call sub_1800992C0 ; +0x45, 0x1800a3545 mov ebx, eax ; +0x4a, 0x1800a354a test eax, eax ; +0x4c, 0x1800a354c jz short loc_1800A3582 ; +0x4e, 0x1800a354e mov rax, cs:off_1801AED20 ; +0x50, 0x1800a3550 test byte ptr [rax+10h], 80h ; +0x57, 0x1800a3557 jz short loc_1800A3582 ; +0x5b, 0x1800a355b lea rax, [rsp+158h+var_118] ; +0x5d, 0x1800a355d mov [rsp+158h+var_118], 0 ; +0x62, 0x1800a3562 lea r9, aDspReset; "DSP::reset" ; +0x67, 0x1800a3567 mov [rsp+158h+var_138], rax ; +0x6e, 0x1800a356e mov r8, rdi ; +0x73, 0x1800a3573 mov edx, 7 ; +0x76, 0x1800a3576 mov ecx, ebx ; +0x7b, 0x1800a357b call sub_1800B20E0 ; +0x7d, 0x1800a357d mov rcx, [rsp+158h+var_128] ; +0x82, 0x1800a3582 test rcx, rcx ; +0x87, 0x1800a3587 jz short loc_1800A3591 ; +0x8a, 0x1800a358a call sub_180102320 ; +0x8c, 0x1800a358c mov eax, ebx ; +0x91, 0x1800a3591 mov rcx, [rsp+158h+var_18] ; +0x93, 0x1800a3593 xor rcx, rsp; StackCookie ; +0x9b, 0x1800a359b call __security_check_cookie ; +0x9e, 0x1800a359e mov rbx, [rsp+158h+arg_8] ; +0xa3, 0x1800a35a3 add rsp, 150h ; +0xab, 0x1800a35ab pop rdi ; +0xb2, 0x1800a35b2 retn ; +0xb3, 0x1800a35b3