; ; sub_18005A4F0 from 0x18005a4f0 to 0x18005a5f1 (257 bytes) ; ; 15 xrefs: ; > FMOD::DSPConnection::setMix @ 0x18005759e ; > sub_180068700 @ 0x180068756 ; > sub_1800699F0 @ 0x180069a00 ; > sub_180069A30 @ 0x180069a5e ; > sub_1800BC0F0 @ 0x1800bc4d3 ; > sub_1800C9830 @ 0x1800c9947 ; > sub_1800CC3D0 @ 0x1800cc48a ; > sub_1800CC9D0 @ 0x1800cca0b ; > sub_1800E1F40 @ 0x1800e210f ; > sub_1800E1F40 @ 0x1800e2295 ; > sub_1800E3A10 @ 0x1800e3bb3 ; > sub_180108CC0 @ 0x180108d11 ; > sub_180109370 @ 0x180109450 ; > sub_180109990 @ 0x180109be1 ; > @ 0x1801f8f7c ; ; 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, 0x18005a4f0 mov [rsp+arg_10], rsi ; +0x5, 0x18005a4f5 push rdi ; +0xa, 0x18005a4fa sub rsp, 30h ; +0xb, 0x18005a4fb movzx esi, [rsp+38h+arg_20] ; +0xf, 0x18005a4ff mov edi, r8d ; +0x14, 0x18005a504 movaps [rsp+38h+var_18], xmm6 ; +0x17, 0x18005a507 mov rbx, rcx ; +0x1c, 0x18005a50c movaps xmm6, xmm1 ; +0x1f, 0x18005a50f ucomiss xmm6, dword ptr [rcx+90h] ; +0x22, 0x18005a512 jnz short loc_18005A52D ; +0x29, 0x18005a519 cmp [rcx+94h], r8d ; +0x2b, 0x18005a51b jnz short loc_18005A52D ; +0x32, 0x18005a522 test sil, sil ; +0x34, 0x18005a524 jz loc_18005A5DA ; +0x37, 0x18005a527 test r9b, r9b ; +0x3d, 0x18005a52d jz short loc_18005A592 ; +0x40, 0x18005a530 mov rcx, [rcx] ; +0x42, 0x18005a532 lea rdx, [rsp+38h+arg_0] ; +0x45, 0x18005a535 mov r9b, 1 ; +0x4a, 0x18005a53a mov r8d, 20h ; ' ' ; +0x4d, 0x18005a53d call sub_1800FCF40 ; +0x53, 0x18005a543 test eax, eax ; +0x58, 0x18005a548 jnz loc_18005A5DC ; +0x5a, 0x18005a54a mov rax, [rsp+38h+arg_0] ; +0x60, 0x18005a550 mov r8b, 1 ; +0x65, 0x18005a555 mov byte ptr [rax], 0Dh ; +0x68, 0x18005a558 mov rax, [rsp+38h+arg_0] ; +0x6b, 0x18005a55b mov [rax+8], rbx ; +0x70, 0x18005a560 mov rax, [rsp+38h+arg_0] ; +0x74, 0x18005a564 movss dword ptr [rax+10h], xmm6 ; +0x79, 0x18005a569 mov rax, [rsp+38h+arg_0] ; +0x7e, 0x18005a56e mov [rax+14h], edi ; +0x83, 0x18005a573 mov rax, [rsp+38h+arg_0] ; +0x86, 0x18005a576 mov [rax+18h], sil ; +0x8b, 0x18005a57b mov rdx, [rsp+38h+arg_0] ; +0x8f, 0x18005a57f mov rcx, [rbx] ; +0x94, 0x18005a584 call sub_1800FD370 ; +0x97, 0x18005a587 test eax, eax ; +0x9c, 0x18005a58c jz short loc_18005A5CC ; +0x9e, 0x18005a58e jmp short loc_18005A5DC ; +0xa0, 0x18005a590 xor eax, eax ; +0xa2, 0x18005a592 test sil, sil ; +0xa4, 0x18005a594 jz short loc_18005A5A1 ; +0xa7, 0x18005a597 mov [rcx+80h], eax ; +0xa9, 0x18005a599 jmp short loc_18005A5A7 ; +0xaf, 0x18005a59f ucomiss xmm6, dword ptr [rcx+68h] ; +0xb1, 0x18005a5a1 jz short loc_18005A5CC ; +0xb5, 0x18005a5a5 movss dword ptr [rcx+68h], xmm6 ; +0xb7, 0x18005a5a7 ucomiss xmm6, dword ptr [rcx+80h] ; +0xbc, 0x18005a5ac jnz short loc_18005A5BD ; +0xc3, 0x18005a5b3 mov [rcx+84h], eax ; +0xc5, 0x18005a5b5 jmp short loc_18005A5CC ; +0xcb, 0x18005a5bb mov [rcx+84h], edi ; +0xcd, 0x18005a5bd test edi, edi ; +0xd3, 0x18005a5c3 jnz short loc_18005A5CC ; +0xd5, 0x18005a5c5 call sub_18005A480 ; +0xd7, 0x18005a5c7 movss dword ptr [rbx+90h], xmm6 ; +0xdc, 0x18005a5cc mov [rbx+94h], edi ; +0xe4, 0x18005a5d4 xor eax, eax ; +0xea, 0x18005a5da mov rbx, [rsp+38h+arg_8] ; +0xec, 0x18005a5dc mov rsi, [rsp+38h+arg_10] ; +0xf1, 0x18005a5e1 movaps xmm6, [rsp+38h+var_18] ; +0xf6, 0x18005a5e6 add rsp, 30h ; +0xfb, 0x18005a5eb pop rdi ; +0xff, 0x18005a5ef retn ; +0x100, 0x18005a5f0