; ; FMOD::Channel::getIndex from 0x18009fda0 to 0x18009fe7d (221 bytes) ; ; 3 xrefs: ; > FMOD_Channel_GetIndex @ 0x1800c55a9 ; > @ 0x180194348 ; > @ 0x1801fadb8 ; ; 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, 0x18009fda0 mov [rsp+arg_18], rsi ; +0x5, 0x18009fda5 push rdi ; +0xa, 0x18009fdaa sub rsp, 150h ; +0xb, 0x18009fdab mov rax, cs:__security_cookie ; +0x12, 0x18009fdb2 xor rax, rsp ; +0x19, 0x18009fdb9 mov [rsp+158h+var_18], rax ; +0x1c, 0x18009fdbc mov rdi, rdx ; +0x24, 0x18009fdc4 mov [rsp+158h+var_128], 0 ; +0x27, 0x18009fdc7 lea rdx, [rsp+158h+var_120] ; +0x30, 0x18009fdd0 mov rsi, rcx ; +0x35, 0x18009fdd5 lea r8, [rsp+158h+var_128] ; +0x38, 0x18009fdd8 call ?validate@ChannelI@FMOD@@SA?AW4FMOD_RESULT@@PEAVChannel@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI * *,FMOD::SystemLockScope *) ; +0x3d, 0x18009fddd mov ebx, eax ; +0x42, 0x18009fde2 test eax, eax ; +0x44, 0x18009fde4 jz short loc_18009FDF5 ; +0x46, 0x18009fde6 test rdi, rdi ; +0x48, 0x18009fde8 jz short loc_18009FE08 ; +0x4b, 0x18009fdeb mov dword ptr [rdi], 0 ; +0x4d, 0x18009fded jmp short loc_18009FE08 ; +0x53, 0x18009fdf3 mov rcx, [rsp+158h+var_120] ; +0x55, 0x18009fdf5 mov rdx, rdi ; +0x5a, 0x18009fdfa call sub_1800CD960 ; +0x5d, 0x18009fdfd mov ebx, eax ; +0x62, 0x18009fe02 test eax, eax ; +0x64, 0x18009fe04 jz short loc_18009FE47 ; +0x66, 0x18009fe06 mov rax, cs:off_1801AED20 ; +0x68, 0x18009fe08 test byte ptr [rax+10h], 80h ; +0x6f, 0x18009fe0f jz short loc_18009FE47 ; +0x73, 0x18009fe13 mov r8, rdi ; +0x75, 0x18009fe15 lea rcx, [rsp+158h+var_118] ; +0x78, 0x18009fe18 mov edx, 100h ; +0x7d, 0x18009fe1d call sub_1800F3020 ; +0x82, 0x18009fe22 lea rax, [rsp+158h+var_118] ; +0x87, 0x18009fe27 mov r8, rsi ; +0x8c, 0x18009fe2c lea r9, aChannelGetinde; "Channel::getIndex" ; +0x8f, 0x18009fe2f mov [rsp+158h+var_138], rax ; +0x96, 0x18009fe36 mov edx, 2 ; +0x9b, 0x18009fe3b mov ecx, ebx ; +0xa0, 0x18009fe40 call sub_1800B20E0 ; +0xa2, 0x18009fe42 mov rcx, [rsp+158h+var_128] ; +0xa7, 0x18009fe47 test rcx, rcx ; +0xac, 0x18009fe4c jz short loc_18009FE56 ; +0xaf, 0x18009fe4f call sub_180102320 ; +0xb1, 0x18009fe51 mov eax, ebx ; +0xb6, 0x18009fe56 mov rcx, [rsp+158h+var_18] ; +0xb8, 0x18009fe58 xor rcx, rsp; StackCookie ; +0xc0, 0x18009fe60 call __security_check_cookie ; +0xc3, 0x18009fe63 lea r11, [rsp+158h+var_8] ; +0xc8, 0x18009fe68 mov rbx, [r11+20h] ; +0xd0, 0x18009fe70 mov rsi, [r11+28h] ; +0xd4, 0x18009fe74 mov rsp, r11 ; +0xd8, 0x18009fe78 pop rdi ; +0xdb, 0x18009fe7b retn ; +0xdc, 0x18009fe7c