; ; FMODAudioEngine::channelIDForUniqueID from 0x1400583f0 to 0x1400584a5 (181 bytes) ; ; 3 xrefs: ; > FMODAudioEngine::playEffectAdvanced @ 0x1400571e0 ; > GJBaseGameLayer::activateSFXEditTrigger @ 0x1402420f1 ; > @ 0x1406c513c ; ; 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], edx ; +0x0, 0x1400583f0 sub rsp, 38h ; +0x4, 0x1400583f4 mov r9, rcx ; +0x8, 0x1400583f8 movzx r8d, dl ; +0xb, 0x1400583fb mov rcx, 100000001B3h ; +0xf, 0x1400583ff mov rax, 0CBF29CE484222325h ; +0x19, 0x140058409 xor r8, rax ; +0x23, 0x140058413 movzx eax, byte ptr [rsp+38h+arg_8+1] ; +0x26, 0x140058416 imul r8, rcx ; +0x2b, 0x14005841b xor r8, rax ; +0x2f, 0x14005841f movzx eax, byte ptr [rsp+38h+arg_8+2] ; +0x32, 0x140058422 imul r8, rcx ; +0x37, 0x140058427 xor r8, rax ; +0x3b, 0x14005842b movzx eax, byte ptr [rsp+38h+arg_8+3] ; +0x3e, 0x14005842e imul r8, rcx ; +0x43, 0x140058433 xor r8, rax ; +0x47, 0x140058437 imul r8, rcx ; +0x4a, 0x14005843a mov rcx, [r9+740h] ; +0x4e, 0x14005843e and rcx, r8 ; +0x55, 0x140058445 shl rcx, 4 ; +0x58, 0x140058448 add rcx, [r9+728h] ; +0x5c, 0x14005844c mov rax, [rcx+8] ; +0x63, 0x140058453 cmp rax, [r9+718h] ; +0x67, 0x140058457 jz short loc_140058478 ; +0x6e, 0x14005845e mov rcx, [rcx] ; +0x70, 0x140058460 cmp edx, [rax+10h] ; +0x73, 0x140058463 jz short loc_14005847A ; +0x76, 0x140058466 cmp rax, rcx ; +0x78, 0x140058468 jz short loc_140058478 ; +0x7b, 0x14005846b mov rax, [rax+8] ; +0x7d, 0x14005846d cmp edx, [rax+10h] ; +0x81, 0x140058471 jnz short loc_140058468 ; +0x84, 0x140058474 jmp short loc_14005847A ; +0x86, 0x140058476 xor eax, eax ; +0x88, 0x140058478 test rax, rax ; +0x8a, 0x14005847a jz short loc_1400584A0 ; +0x8d, 0x14005847d lea rcx, [r9+710h] ; +0x8f, 0x14005847f lea r8, [rsp+38h+arg_8] ; +0x96, 0x140058486 lea rdx, [rsp+38h+var_18] ; +0x9b, 0x14005848b call sub_140060B20 ; +0xa0, 0x140058490 mov rax, [rax] ; +0xa5, 0x140058495 mov eax, [rax+14h] ; +0xa8, 0x140058498 add rsp, 38h ; +0xab, 0x14005849b retn ; +0xaf, 0x14005849f add rsp, 38h ; +0xb0, 0x1400584a0 retn ; +0xb4, 0x1400584a4