; ; FMOD::DSP::getIdle from 0x1800a1bd0 to 0x1800a1ca0 (208 bytes) ; ; 3 xrefs: ; > FMOD_DSP_GetIdle @ 0x1800c5bfc ; > @ 0x180194348 ; > @ 0x1801fb130 ; ; 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, 0x1800a1bd0 mov [rsp+arg_18], rsi ; +0x5, 0x1800a1bd5 push rdi ; +0xa, 0x1800a1bda sub rsp, 150h ; +0xb, 0x1800a1bdb mov rax, cs:__security_cookie ; +0x12, 0x1800a1be2 xor rax, rsp ; +0x19, 0x1800a1be9 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800a1bec mov rdi, rdx ; +0x24, 0x1800a1bf4 mov [rsp+158h+var_128], 0 ; +0x27, 0x1800a1bf7 lea rdx, [rsp+158h+var_120] ; +0x30, 0x1800a1c00 mov rsi, rcx ; +0x35, 0x1800a1c05 lea r8, [rsp+158h+var_128] ; +0x38, 0x1800a1c08 call ?validate@DSPI@FMOD@@SA?AW4FMOD_RESULT@@PEAVDSP@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI * *,FMOD::SystemLockScope *) ; +0x3d, 0x1800a1c0d mov ebx, eax ; +0x42, 0x1800a1c12 test eax, eax ; +0x44, 0x1800a1c14 jnz short loc_1800A1C2B ; +0x46, 0x1800a1c16 mov rcx, [rsp+158h+var_120] ; +0x48, 0x1800a1c18 mov rdx, rdi ; +0x4d, 0x1800a1c1d call sub_180096F80 ; +0x50, 0x1800a1c20 mov ebx, eax ; +0x55, 0x1800a1c25 test eax, eax ; +0x57, 0x1800a1c27 jz short loc_1800A1C6A ; +0x59, 0x1800a1c29 mov rax, cs:off_1801AED20 ; +0x5b, 0x1800a1c2b test byte ptr [rax+10h], 80h ; +0x62, 0x1800a1c32 jz short loc_1800A1C6A ; +0x66, 0x1800a1c36 mov r8, rdi ; +0x68, 0x1800a1c38 lea rcx, [rsp+158h+var_118] ; +0x6b, 0x1800a1c3b mov edx, 100h ; +0x70, 0x1800a1c40 call sub_1800F32C0 ; +0x75, 0x1800a1c45 lea rax, [rsp+158h+var_118] ; +0x7a, 0x1800a1c4a mov r8, rsi ; +0x7f, 0x1800a1c4f lea r9, aDspGetidle; "DSP::getIdle" ; +0x82, 0x1800a1c52 mov [rsp+158h+var_138], rax ; +0x89, 0x1800a1c59 mov edx, 7 ; +0x8e, 0x1800a1c5e mov ecx, ebx ; +0x93, 0x1800a1c63 call sub_1800B20E0 ; +0x95, 0x1800a1c65 mov rcx, [rsp+158h+var_128] ; +0x9a, 0x1800a1c6a test rcx, rcx ; +0x9f, 0x1800a1c6f jz short loc_1800A1C79 ; +0xa2, 0x1800a1c72 call sub_180102320 ; +0xa4, 0x1800a1c74 mov eax, ebx ; +0xa9, 0x1800a1c79 mov rcx, [rsp+158h+var_18] ; +0xab, 0x1800a1c7b xor rcx, rsp; StackCookie ; +0xb3, 0x1800a1c83 call __security_check_cookie ; +0xb6, 0x1800a1c86 lea r11, [rsp+158h+var_8] ; +0xbb, 0x1800a1c8b mov rbx, [r11+20h] ; +0xc3, 0x1800a1c93 mov rsi, [r11+28h] ; +0xc7, 0x1800a1c97 mov rsp, r11 ; +0xcb, 0x1800a1c9b pop rdi ; +0xce, 0x1800a1c9e retn ; +0xcf, 0x1800a1c9f