; ; FMOD::System::setDSPBufferSize from 0x1800b0f40 to 0x1800b106f (303 bytes) ; ; 5 xrefs: ; > FMOD_System_SetDSPBufferSize @ 0x1800c6e99 ; > @ 0x180187bf4 ; > @ 0x180187c28 ; > @ 0x180194348 ; > @ 0x1801fcb04 ; ; 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 r11, rsp ; +0x0, 0x1800b0f40 push rsi ; +0x3, 0x1800b0f43 sub rsp, 170h ; +0x4, 0x1800b0f44 mov rax, cs:__security_cookie ; +0xb, 0x1800b0f4b xor rax, rsp ; +0x12, 0x1800b0f52 mov [rsp+178h+var_38], rax ; +0x15, 0x1800b0f55 mov [r11-10h], rbx ; +0x1d, 0x1800b0f5d mov ebx, edx ; +0x21, 0x1800b0f61 mov [r11-18h], rbp ; +0x23, 0x1800b0f63 lea rdx, [rsp+178h+var_140] ; +0x27, 0x1800b0f67 mov ebp, r8d ; +0x2c, 0x1800b0f6c mov [r11-28h], r14 ; +0x2f, 0x1800b0f6f lea r8, [rsp+178h+var_148] ; +0x33, 0x1800b0f73 mov [rsp+178h+var_148], 0 ; +0x38, 0x1800b0f78 mov r14, rcx ; +0x41, 0x1800b0f81 call ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x44, 0x1800b0f84 mov esi, eax ; +0x49, 0x1800b0f89 test eax, eax ; +0x4b, 0x1800b0f8b jnz short loc_1800B0FA8 ; +0x4d, 0x1800b0f8d mov rcx, [rsp+178h+var_140] ; +0x4f, 0x1800b0f8f mov r8d, ebp ; +0x54, 0x1800b0f94 mov edx, ebx ; +0x57, 0x1800b0f97 call sub_1800E7310 ; +0x59, 0x1800b0f99 mov esi, eax ; +0x5e, 0x1800b0f9e test eax, eax ; +0x60, 0x1800b0fa0 jz loc_1800B102D ; +0x62, 0x1800b0fa2 mov rax, cs:off_1801AED20 ; +0x68, 0x1800b0fa8 test byte ptr [rax+10h], 80h ; +0x6f, 0x1800b0faf jz short loc_1800B102D ; +0x73, 0x1800b0fb3 mov [rsp+178h+var_20], rdi ; +0x75, 0x1800b0fb5 lea rcx, [rsp+178h+var_138] ; +0x7d, 0x1800b0fbd mov edi, 100h ; +0x82, 0x1800b0fc2 mov r8d, ebx ; +0x87, 0x1800b0fc7 mov edx, edi ; +0x8a, 0x1800b0fca call sub_1800F2EF0 ; +0x8c, 0x1800b0fcc movsxd rbx, eax ; +0x91, 0x1800b0fd1 lea rcx, [rsp+178h+var_138] ; +0x94, 0x1800b0fd4 mov edx, edi ; +0x99, 0x1800b0fd9 lea r8, asc_18014572C; ", " ; +0x9b, 0x1800b0fdb sub edx, ebx ; +0xa2, 0x1800b0fe2 add rcx, rbx; void * ; +0xa4, 0x1800b0fe4 call sub_1800F2F70 ; +0xa7, 0x1800b0fe7 add ebx, eax ; +0xac, 0x1800b0fec lea rcx, [rsp+178h+var_138] ; +0xae, 0x1800b0fee movsxd rax, ebx ; +0xb3, 0x1800b0ff3 sub edi, ebx ; +0xb6, 0x1800b0ff6 add rcx, rax ; +0xb8, 0x1800b0ff8 mov edx, edi ; +0xbb, 0x1800b0ffb mov r8d, ebp ; +0xbd, 0x1800b0ffd call sub_1800F2EC0 ; +0xc0, 0x1800b1000 lea rax, [rsp+178h+var_138] ; +0xc5, 0x1800b1005 mov r8, r14 ; +0xca, 0x1800b100a lea r9, aSystemSetdspbu; "System::setDSPBufferSize" ; +0xcd, 0x1800b100d mov [rsp+178h+var_158], rax ; +0xd4, 0x1800b1014 mov edx, 1 ; +0xd9, 0x1800b1019 mov ecx, esi ; +0xde, 0x1800b101e call sub_1800B20E0 ; +0xe0, 0x1800b1020 mov rdi, [rsp+178h+var_20] ; +0xe5, 0x1800b1025 mov rcx, [rsp+178h+var_148] ; +0xed, 0x1800b102d mov r14, [rsp+178h+var_28] ; +0xf2, 0x1800b1032 mov rbp, [rsp+178h+var_18] ; +0xfa, 0x1800b103a mov rbx, [rsp+178h+var_10] ; +0x102, 0x1800b1042 test rcx, rcx ; +0x10a, 0x1800b104a jz short loc_1800B1054 ; +0x10d, 0x1800b104d call sub_180102320 ; +0x10f, 0x1800b104f mov eax, esi ; +0x114, 0x1800b1054 mov rcx, [rsp+178h+var_38] ; +0x116, 0x1800b1056 xor rcx, rsp; StackCookie ; +0x11e, 0x1800b105e call __security_check_cookie ; +0x121, 0x1800b1061 add rsp, 170h ; +0x126, 0x1800b1066 pop rsi ; +0x12d, 0x1800b106d retn ; +0x12e, 0x1800b106e