; ; FMOD::Channel::setChannelGroup from 0x1800a0440 to 0x1800a0510 (208 bytes) ; ; 3 xrefs: ; > FMOD_Channel_SetChannelGroup @ 0x1800c58a9 ; > @ 0x180194348 ; > @ 0x1801fae60 ; ; 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, 0x1800a0440 mov [rsp+arg_18], rsi ; +0x5, 0x1800a0445 push rdi ; +0xa, 0x1800a044a sub rsp, 150h ; +0xb, 0x1800a044b mov rax, cs:__security_cookie ; +0x12, 0x1800a0452 xor rax, rsp ; +0x19, 0x1800a0459 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800a045c mov rdi, rdx ; +0x24, 0x1800a0464 mov [rsp+158h+var_128], 0 ; +0x27, 0x1800a0467 lea rdx, [rsp+158h+var_120] ; +0x30, 0x1800a0470 mov rsi, rcx ; +0x35, 0x1800a0475 lea r8, [rsp+158h+var_128] ; +0x38, 0x1800a0478 call ?validate@ChannelI@FMOD@@SA?AW4FMOD_RESULT@@PEAVChannel@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI * *,FMOD::SystemLockScope *) ; +0x3d, 0x1800a047d mov ebx, eax ; +0x42, 0x1800a0482 test eax, eax ; +0x44, 0x1800a0484 jnz short loc_1800A049B ; +0x46, 0x1800a0486 mov rcx, [rsp+158h+var_120] ; +0x48, 0x1800a0488 mov rdx, rdi ; +0x4d, 0x1800a048d call sub_1800CE980 ; +0x50, 0x1800a0490 mov ebx, eax ; +0x55, 0x1800a0495 test eax, eax ; +0x57, 0x1800a0497 jz short loc_1800A04DA ; +0x59, 0x1800a0499 mov rax, cs:off_1801AED20 ; +0x5b, 0x1800a049b test byte ptr [rax+10h], 80h ; +0x62, 0x1800a04a2 jz short loc_1800A04DA ; +0x66, 0x1800a04a6 mov r8, rdi ; +0x68, 0x1800a04a8 lea rcx, [rsp+158h+var_118] ; +0x6b, 0x1800a04ab mov edx, 100h ; +0x70, 0x1800a04b0 call sub_1800F3230 ; +0x75, 0x1800a04b5 lea rax, [rsp+158h+var_118] ; +0x7a, 0x1800a04ba mov r8, rsi ; +0x7f, 0x1800a04bf lea r9, aChannelSetchan; "Channel::setChannelGroup" ; +0x82, 0x1800a04c2 mov [rsp+158h+var_138], rax ; +0x89, 0x1800a04c9 mov edx, 2 ; +0x8e, 0x1800a04ce mov ecx, ebx ; +0x93, 0x1800a04d3 call sub_1800B20E0 ; +0x95, 0x1800a04d5 mov rcx, [rsp+158h+var_128] ; +0x9a, 0x1800a04da test rcx, rcx ; +0x9f, 0x1800a04df jz short loc_1800A04E9 ; +0xa2, 0x1800a04e2 call sub_180102320 ; +0xa4, 0x1800a04e4 mov eax, ebx ; +0xa9, 0x1800a04e9 mov rcx, [rsp+158h+var_18] ; +0xab, 0x1800a04eb xor rcx, rsp; StackCookie ; +0xb3, 0x1800a04f3 call __security_check_cookie ; +0xb6, 0x1800a04f6 lea r11, [rsp+158h+var_8] ; +0xbb, 0x1800a04fb mov rbx, [r11+20h] ; +0xc3, 0x1800a0503 mov rsi, [r11+28h] ; +0xc7, 0x1800a0507 mov rsp, r11 ; +0xcb, 0x1800a050b pop rdi ; +0xce, 0x1800a050e retn ; +0xcf, 0x1800a050f