; ; FMODAudioEngine::channelUnlinkSound from 0x1400609f0 to 0x140060b7e (398 bytes) ; ; 2 xrefs: ; > FMODAudioEngine::unregisterChannel @ 0x1400609d6 ; > @ 0x140910a84 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:25:44 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x1400609f0 mov [rsp+arg_18], rbp ; +0x5, 0x1400609f5 push rsi ; +0xa, 0x1400609fa push rdi ; +0xb, 0x1400609fb push r14 ; +0xc, 0x1400609fc sub rsp, 60h ; +0xe, 0x1400609fe mov rax, cs:__security_cookie ; +0x12, 0x140060a02 xor rax, rsp ; +0x19, 0x140060a09 mov [rsp+78h+var_20], rax ; +0x1c, 0x140060a0c mov r10d, edx ; +0x21, 0x140060a11 mov rbp, rcx ; +0x24, 0x140060a14 mov [rsp+78h+var_58], r10d ; +0x27, 0x140060a17 mov r9d, edx ; +0x2c, 0x140060a1c shr r9d, 18h ; +0x2f, 0x140060a1f mov eax, edx ; +0x33, 0x140060a23 shr eax, 10h ; +0x35, 0x140060a25 movzx r8d, al ; +0x38, 0x140060a28 mov eax, edx ; +0x3c, 0x140060a2c shr eax, 8 ; +0x3e, 0x140060a2e movzx ecx, al ; +0x41, 0x140060a31 movzx edx, dl ; +0x44, 0x140060a34 mov rdi, 0CBF29CE484222325h ; +0x47, 0x140060a37 xor rdx, rdi ; +0x51, 0x140060a41 mov r14, 100000001B3h ; +0x54, 0x140060a44 imul rdx, r14 ; +0x5e, 0x140060a4e xor rcx, rdx ; +0x62, 0x140060a52 imul rcx, r14 ; +0x65, 0x140060a55 xor rcx, r8 ; +0x69, 0x140060a59 imul rcx, r14 ; +0x6c, 0x140060a5c xor rcx, r9 ; +0x70, 0x140060a60 imul rcx, r14 ; +0x73, 0x140060a63 and rcx, [rbp+7A0h] ; +0x77, 0x140060a67 shl rcx, 4 ; +0x7e, 0x140060a6e add rcx, [rbp+788h] ; +0x82, 0x140060a72 mov rax, [rcx+8] ; +0x89, 0x140060a79 xor ebx, ebx ; +0x8d, 0x140060a7d cmp rax, [rbp+778h] ; +0x8f, 0x140060a7f jz short loc_140060AA2 ; +0x96, 0x140060a86 mov rcx, [rcx] ; +0x98, 0x140060a88 cmp r10d, [rax+10h] ; +0x9b, 0x140060a8b jz short loc_140060AA5 ; +0x9f, 0x140060a8f cmp rax, rcx ; +0xa1, 0x140060a91 jz short loc_140060AA2 ; +0xa4, 0x140060a94 mov rax, [rax+8] ; +0xa6, 0x140060a96 cmp r10d, [rax+10h] ; +0xaa, 0x140060a9a jnz short loc_140060A91 ; +0xae, 0x140060a9e jmp short loc_140060AA5 ; +0xb0, 0x140060aa0 mov rax, rbx ; +0xb2, 0x140060aa2 test rax, rax ; +0xb5, 0x140060aa5 jz loc_140060B5C ; +0xb8, 0x140060aa8 lea r8, [rsp+78h+var_58] ; +0xbe, 0x140060aae lea rdx, [rsp+78h+var_50] ; +0xc3, 0x140060ab3 lea rcx, [rbp+770h] ; +0xc8, 0x140060ab8 call sub_140067D30 ; +0xcf, 0x140060abf mov rdx, [rax] ; +0xd4, 0x140060ac4 add rdx, 18h ; +0xd7, 0x140060ac7 lea rcx, [rsp+78h+var_40] ; +0xdb, 0x140060acb call sub_14003F4F0 ; +0xe0, 0x140060ad0 nop ; +0xe5, 0x140060ad5 lea rcx, [rsp+78h+var_40] ; +0xe6, 0x140060ad6 cmp [rsp+78h+var_28], 0Fh ; +0xeb, 0x140060adb cmova rcx, [rsp+78h+var_40] ; +0xf1, 0x140060ae1 mov rdx, [rsp+78h+var_30] ; +0xf7, 0x140060ae7 test rdx, rdx ; +0xfc, 0x140060aec jz short loc_140060B04 ; +0xff, 0x140060aef movzx eax, byte ptr [rcx+rbx] ; +0x101, 0x140060af1 xor rdi, rax ; +0x105, 0x140060af5 imul rdi, r14 ; +0x108, 0x140060af8 inc rbx ; +0x10c, 0x140060afc cmp rbx, rdx ; +0x10f, 0x140060aff jb short loc_140060AF1 ; +0x112, 0x140060b02 mov r9, rdi ; +0x114, 0x140060b04 lea r8, [rsp+78h+var_40] ; +0x117, 0x140060b07 lea rdx, [rsp+78h+var_50] ; +0x11c, 0x140060b0c lea rcx, [rbp+180h] ; +0x121, 0x140060b11 call sub_140067710 ; +0x128, 0x140060b18 cmp qword ptr [rax+8], 0 ; +0x12d, 0x140060b1d jz short loc_140060B52 ; +0x132, 0x140060b22 lea r8, [rsp+78h+var_40] ; +0x134, 0x140060b24 lea rdx, [rsp+78h+var_50] ; +0x139, 0x140060b29 lea rcx, [rbp+180h] ; +0x13e, 0x140060b2e call sub_1400683B0 ; +0x145, 0x140060b35 mov rdx, [rax] ; +0x14a, 0x140060b3a dec dword ptr [rdx+5Ch] ; +0x14d, 0x140060b3d lea rdx, [rsp+78h+var_58] ; +0x150, 0x140060b40 lea rcx, [rbp+770h] ; +0x155, 0x140060b45 call sub_1400668E0 ; +0x15c, 0x140060b4c nop ; +0x161, 0x140060b51 lea rcx, [rsp+78h+var_40] ; +0x162, 0x140060b52 call sub_14003D310 ; +0x167, 0x140060b57 mov rcx, [rsp+78h+var_20] ; +0x16c, 0x140060b5c xor rcx, rsp; StackCookie ; +0x171, 0x140060b61 call __security_check_cookie ; +0x174, 0x140060b64 lea r11, [rsp+78h+var_18] ; +0x179, 0x140060b69 mov rbx, [r11+30h] ; +0x17e, 0x140060b6e mov rbp, [r11+38h] ; +0x182, 0x140060b72 mov rsp, r11 ; +0x186, 0x140060b76 pop r14 ; +0x189, 0x140060b79 pop rdi ; +0x18b, 0x140060b7b pop rsi ; +0x18c, 0x140060b7c retn ; +0x18d, 0x140060b7d