; ; FMOD::System::unlockDSP from 0x1800b1f80 to 0x1800b201a (154 bytes) ; ; 3 xrefs: ; > FMOD_System_UnlockDSP @ 0x1800c6fa9 ; > @ 0x180194348 ; > @ 0x1801fccb4 ; ; 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, 0x1800b1f80 push rdi ; +0x5, 0x1800b1f85 sub rsp, 150h ; +0x6, 0x1800b1f86 mov rax, cs:__security_cookie ; +0xd, 0x1800b1f8d xor rax, rsp ; +0x14, 0x1800b1f94 mov [rsp+158h+var_18], rax ; +0x17, 0x1800b1f97 xor r8d, r8d ; +0x1f, 0x1800b1f9f lea rdx, [rsp+158h+var_128] ; +0x22, 0x1800b1fa2 mov rdi, rcx ; +0x27, 0x1800b1fa7 call ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x2a, 0x1800b1faa mov ebx, eax ; +0x2f, 0x1800b1faf test eax, eax ; +0x31, 0x1800b1fb1 jnz short loc_1800B1FC5 ; +0x33, 0x1800b1fb3 mov rcx, [rsp+158h+var_128] ; +0x35, 0x1800b1fb5 call sub_1800E8440 ; +0x3a, 0x1800b1fba mov ebx, eax ; +0x3f, 0x1800b1fbf test eax, eax ; +0x41, 0x1800b1fc1 jz short loc_1800B1FF9 ; +0x43, 0x1800b1fc3 mov rax, cs:off_1801AED20 ; +0x45, 0x1800b1fc5 test byte ptr [rax+10h], 80h ; +0x4c, 0x1800b1fcc jz short loc_1800B1FF7 ; +0x50, 0x1800b1fd0 lea rax, [rsp+158h+var_118] ; +0x52, 0x1800b1fd2 mov [rsp+158h+var_118], 0 ; +0x57, 0x1800b1fd7 lea r9, aSystemUnlockds; "System::unlockDSP" ; +0x5c, 0x1800b1fdc mov [rsp+158h+var_138], rax ; +0x63, 0x1800b1fe3 mov r8, rdi ; +0x68, 0x1800b1fe8 mov edx, 1 ; +0x6b, 0x1800b1feb mov ecx, ebx ; +0x70, 0x1800b1ff0 call sub_1800B20E0 ; +0x72, 0x1800b1ff2 mov eax, ebx ; +0x77, 0x1800b1ff7 mov rcx, [rsp+158h+var_18] ; +0x79, 0x1800b1ff9 xor rcx, rsp; StackCookie ; +0x81, 0x1800b2001 call __security_check_cookie ; +0x84, 0x1800b2004 mov rbx, [rsp+158h+arg_8] ; +0x89, 0x1800b2009 add rsp, 150h ; +0x91, 0x1800b2011 pop rdi ; +0x98, 0x1800b2018 retn ; +0x99, 0x1800b2019