; ; FMOD::ChannelControl::setPan from 0x18000dfd0 to 0x18000e0ab (219 bytes) ; ; 4 xrefs: ; > FMOD_ChannelGroup_SetPan @ 0x1800c5359 ; > FMOD_Channel_SetPan @ 0x1800c59a9 ; > @ 0x180194348 ; > @ 0x1801f6bdc ; ; 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, 0x18000dfd0 push rdi ; +0x5, 0x18000dfd5 sub rsp, 160h ; +0x6, 0x18000dfd6 movaps [rsp+168h+var_18], xmm6 ; +0xd, 0x18000dfdd mov rax, cs:__security_cookie ; +0x15, 0x18000dfe5 xor rax, rsp ; +0x1c, 0x18000dfec mov [rsp+168h+var_28], rax ; +0x1f, 0x18000dfef lea r8, [rsp+168h+var_138] ; +0x27, 0x18000dff7 mov [rsp+168h+var_138], 0 ; +0x2c, 0x18000dffc lea rdx, [rsp+168h+var_130] ; +0x35, 0x18000e005 movaps xmm6, xmm1 ; +0x3a, 0x18000e00a mov rdi, rcx ; +0x3d, 0x18000e00d call sub_180012360 ; +0x40, 0x18000e010 mov ebx, eax ; +0x45, 0x18000e015 test eax, eax ; +0x47, 0x18000e017 jnz short loc_18000E032 ; +0x49, 0x18000e019 mov rcx, [rsp+168h+var_130] ; +0x4b, 0x18000e01b movaps xmm1, xmm6 ; +0x50, 0x18000e020 mov rax, [rcx] ; +0x53, 0x18000e023 call qword ptr [rax+0B0h] ; +0x56, 0x18000e026 mov ebx, eax ; +0x5c, 0x18000e02c test eax, eax ; +0x5e, 0x18000e02e jz short loc_18000E071 ; +0x60, 0x18000e030 mov rax, cs:off_1801AED20 ; +0x62, 0x18000e032 test byte ptr [rax+10h], 80h ; +0x69, 0x18000e039 jz short loc_18000E071 ; +0x6d, 0x18000e03d movaps xmm2, xmm6 ; +0x6f, 0x18000e03f lea rcx, [rsp+168h+var_128] ; +0x72, 0x18000e042 mov edx, 100h ; +0x77, 0x18000e047 call sub_1800F2F20 ; +0x7c, 0x18000e04c lea rax, [rsp+168h+var_128] ; +0x81, 0x18000e051 mov r8, rdi ; +0x86, 0x18000e056 lea r9, aChannelcontrol_52; "ChannelControl::setPan" ; +0x89, 0x18000e059 mov [rsp+168h+var_148], rax ; +0x90, 0x18000e060 mov edx, 4 ; +0x95, 0x18000e065 mov ecx, ebx ; +0x9a, 0x18000e06a call sub_1800B20E0 ; +0x9c, 0x18000e06c mov rcx, [rsp+168h+var_138] ; +0xa1, 0x18000e071 test rcx, rcx ; +0xa6, 0x18000e076 jz short loc_18000E080 ; +0xa9, 0x18000e079 call sub_180102320 ; +0xab, 0x18000e07b mov eax, ebx ; +0xb0, 0x18000e080 mov rcx, [rsp+168h+var_28] ; +0xb2, 0x18000e082 xor rcx, rsp; StackCookie ; +0xba, 0x18000e08a call __security_check_cookie ; +0xbd, 0x18000e08d mov rbx, [rsp+168h+arg_10] ; +0xc2, 0x18000e092 movaps xmm6, [rsp+168h+var_18] ; +0xca, 0x18000e09a add rsp, 160h ; +0xd2, 0x18000e0a2 pop rdi ; +0xd9, 0x18000e0a9 retn ; +0xda, 0x18000e0aa