; ; FMOD::DSPConnection::setMix from 0x180057540 to 0x180057622 (226 bytes) ; ; 4 xrefs: ; > FMOD_DSPConnection_SetMix @ 0x1800c5ac9 ; > @ 0x180194348 ; > @ 0x1801f8e5c ; > @ 0x1801f8e68 ; ; 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, 0x180057540 push rdi ; +0x5, 0x180057545 sub rsp, 160h ; +0x6, 0x180057546 movaps [rsp+168h+var_18], xmm6 ; +0xd, 0x18005754d mov rax, cs:__security_cookie ; +0x15, 0x180057555 xor rax, rsp ; +0x1c, 0x18005755c mov [rsp+168h+var_28], rax ; +0x1f, 0x18005755f lea r8, [rsp+168h+var_138] ; +0x27, 0x180057567 mov [rsp+168h+var_138], 0 ; +0x2c, 0x18005756c lea rdx, [rsp+168h+var_130] ; +0x35, 0x180057575 movaps xmm6, xmm1 ; +0x3a, 0x18005757a mov rdi, rcx ; +0x3d, 0x18005757d call sub_18005AF70 ; +0x40, 0x180057580 mov ebx, eax ; +0x45, 0x180057585 test eax, eax ; +0x47, 0x180057587 jnz short loc_1800575A9 ; +0x49, 0x180057589 mov rcx, [rsp+168h+var_130] ; +0x4b, 0x18005758b lea r8d, [rax+40h] ; +0x50, 0x180057590 mov r9b, 1 ; +0x54, 0x180057594 mov byte ptr [rsp+168h+var_148], al ; +0x57, 0x180057597 movaps xmm1, xmm6 ; +0x5b, 0x18005759b call sub_18005A4F0 ; +0x5e, 0x18005759e mov ebx, eax ; +0x63, 0x1800575a3 test eax, eax ; +0x65, 0x1800575a5 jz short loc_1800575E8 ; +0x67, 0x1800575a7 mov rax, cs:off_1801AED20 ; +0x69, 0x1800575a9 test byte ptr [rax+10h], 80h ; +0x70, 0x1800575b0 jz short loc_1800575E8 ; +0x74, 0x1800575b4 movaps xmm2, xmm6 ; +0x76, 0x1800575b6 lea rcx, [rsp+168h+var_128] ; +0x79, 0x1800575b9 mov edx, 100h ; +0x7e, 0x1800575be call sub_1800F2F20 ; +0x83, 0x1800575c3 lea rax, [rsp+168h+var_128] ; +0x88, 0x1800575c8 mov r8, rdi ; +0x8d, 0x1800575cd lea r9, aDspconnectionS; "DSPConnection::setMix" ; +0x90, 0x1800575d0 mov [rsp+168h+var_148], rax ; +0x97, 0x1800575d7 mov edx, 8 ; +0x9c, 0x1800575dc mov ecx, ebx ; +0xa1, 0x1800575e1 call sub_1800B20E0 ; +0xa3, 0x1800575e3 mov rcx, [rsp+168h+var_138] ; +0xa8, 0x1800575e8 test rcx, rcx ; +0xad, 0x1800575ed jz short loc_1800575F7 ; +0xb0, 0x1800575f0 call sub_180102320 ; +0xb2, 0x1800575f2 mov eax, ebx ; +0xb7, 0x1800575f7 mov rcx, [rsp+168h+var_28] ; +0xb9, 0x1800575f9 xor rcx, rsp; StackCookie ; +0xc1, 0x180057601 call __security_check_cookie ; +0xc4, 0x180057604 mov rbx, [rsp+168h+arg_10] ; +0xc9, 0x180057609 movaps xmm6, [rsp+168h+var_18] ; +0xd1, 0x180057611 add rsp, 160h ; +0xd9, 0x180057619 pop rdi ; +0xe0, 0x180057620 retn ; +0xe1, 0x180057621