; ; FMOD::ChannelControl::setVolume from 0x18000e480 to 0x18000e55b (219 bytes) ; ; 5 xrefs: ; > FMOD_ChannelGroup_SetVolume @ 0x1800c53b9 ; > FMOD_Channel_SetVolume @ 0x1800c5a29 ; > @ 0x180194348 ; > @ 0x1801f6c3c ; > @ 0x1801f6c48 ; ; 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, 0x18000e480 push rdi ; +0x5, 0x18000e485 sub rsp, 160h ; +0x6, 0x18000e486 movaps [rsp+168h+var_18], xmm6 ; +0xd, 0x18000e48d mov rax, cs:__security_cookie ; +0x15, 0x18000e495 xor rax, rsp ; +0x1c, 0x18000e49c mov [rsp+168h+var_28], rax ; +0x1f, 0x18000e49f lea r8, [rsp+168h+var_138] ; +0x27, 0x18000e4a7 mov [rsp+168h+var_138], 0 ; +0x2c, 0x18000e4ac lea rdx, [rsp+168h+var_130] ; +0x35, 0x18000e4b5 movaps xmm6, xmm1 ; +0x3a, 0x18000e4ba mov rdi, rcx ; +0x3d, 0x18000e4bd call sub_180012360 ; +0x40, 0x18000e4c0 mov ebx, eax ; +0x45, 0x18000e4c5 test eax, eax ; +0x47, 0x18000e4c7 jnz short loc_18000E4E2 ; +0x49, 0x18000e4c9 mov rcx, [rsp+168h+var_130] ; +0x4b, 0x18000e4cb xor r8d, r8d ; +0x50, 0x18000e4d0 movaps xmm1, xmm6 ; +0x53, 0x18000e4d3 mov rax, [rcx] ; +0x56, 0x18000e4d6 call qword ptr [rax+20h] ; +0x59, 0x18000e4d9 mov ebx, eax ; +0x5c, 0x18000e4dc test eax, eax ; +0x5e, 0x18000e4de jz short loc_18000E521 ; +0x60, 0x18000e4e0 mov rax, cs:off_1801AED20 ; +0x62, 0x18000e4e2 test byte ptr [rax+10h], 80h ; +0x69, 0x18000e4e9 jz short loc_18000E521 ; +0x6d, 0x18000e4ed movaps xmm2, xmm6 ; +0x6f, 0x18000e4ef lea rcx, [rsp+168h+var_128] ; +0x72, 0x18000e4f2 mov edx, 100h ; +0x77, 0x18000e4f7 call sub_1800F2F20 ; +0x7c, 0x18000e4fc lea rax, [rsp+168h+var_128] ; +0x81, 0x18000e501 mov r8, rdi ; +0x86, 0x18000e506 lea r9, aChannelcontrol_57; "ChannelControl::setVolume" ; +0x89, 0x18000e509 mov [rsp+168h+var_148], rax ; +0x90, 0x18000e510 mov edx, 4 ; +0x95, 0x18000e515 mov ecx, ebx ; +0x9a, 0x18000e51a call sub_1800B20E0 ; +0x9c, 0x18000e51c mov rcx, [rsp+168h+var_138] ; +0xa1, 0x18000e521 test rcx, rcx ; +0xa6, 0x18000e526 jz short loc_18000E530 ; +0xa9, 0x18000e529 call sub_180102320 ; +0xab, 0x18000e52b mov eax, ebx ; +0xb0, 0x18000e530 mov rcx, [rsp+168h+var_28] ; +0xb2, 0x18000e532 xor rcx, rsp; StackCookie ; +0xba, 0x18000e53a call __security_check_cookie ; +0xbd, 0x18000e53d mov rbx, [rsp+168h+arg_10] ; +0xc2, 0x18000e542 movaps xmm6, [rsp+168h+var_18] ; +0xca, 0x18000e54a add rsp, 160h ; +0xd2, 0x18000e552 pop rdi ; +0xd9, 0x18000e559 retn ; +0xda, 0x18000e55a