; ; FMOD::Channel::getIndex from 0xad65c to 0xad6d4 (120 bytes) ; ; 1 xrefs: ; > FMOD::Channel::getIndex @ 0xe0be8 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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:41:39 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xad65c ADD R7, SP, #0xC ; +0x2, 0xad65e PUSH.W {R8} ; +0x4, 0xad660 SUB SP, SP, #0x110 ; +0x8, 0xad664 MOV R6, R1 ; +0xa, 0xad666 MOV R5, R0 ; +0xc, 0xad668 MOVS R0, #0 ; +0xe, 0xad66a ADD R1, SP, #0x110+var_4 ; +0x10, 0xad66c ADD R2, SP, #0x110+var_8 ; +0x12, 0xad66e STR R0, [SP,#0x110+var_8] ; +0x14, 0xad670 MOV R0, R5 ; +0x16, 0xad672 BLX j__ZN4FMOD8ChannelI8validateEPNS_7ChannelEPPS0_PNS_15SystemLockScopeE; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI**,FMOD::SystemLockScope *) ; +0x18, 0xad674 CBZ R0, loc_AD684 ; +0x1c, 0xad678 MOV R4, R0 ; +0x1e, 0xad67a CBZ R6, loc_AD690 ; +0x20, 0xad67c MOVS R0, #0 ; +0x22, 0xad67e STR R0, [R6] ; +0x24, 0xad680 B loc_AD690 ; +0x26, 0xad682 LDR R0, [SP,#0x110+var_4] ; +0x28, 0xad684 MOV R1, R6 ; +0x2a, 0xad686 BL sub_4C682 ; +0x2c, 0xad688 MOV R4, R0 ; +0x30, 0xad68c CBZ R0, loc_AD6C2 ; +0x32, 0xad68e LDR R0, =(off_E6144 - 0xAD696) ; +0x34, 0xad690 ADD R0, PC; off_E6144 ; +0x36, 0xad692 LDR R0, [R0]; off_E8000 ; +0x38, 0xad694 LDR R0, [R0]; dword_F2488 ; +0x3a, 0xad696 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x3c, 0xad698 LSLS R0, R0, #0x18 ; +0x3e, 0xad69a BPL loc_AD6C4 ; +0x40, 0xad69c ADD.W R8, SP, #0x110+var_108 ; +0x42, 0xad69e MOV.W R1, #0x100 ; +0x46, 0xad6a2 MOV R2, R6 ; +0x4a, 0xad6a6 MOV R0, R8 ; +0x4c, 0xad6a8 BL sub_5C9EC ; +0x4e, 0xad6aa STR.W R8, [SP,#0x110+var_110] ; +0x52, 0xad6ae MOV R0, R4 ; +0x56, 0xad6b2 LDR R3, =(aChannelGetinde - 0xAD6BE); "Channel::getIndex" ... ; +0x58, 0xad6b4 MOVS R1, #2 ; +0x5a, 0xad6b6 MOV R2, R5 ; +0x5c, 0xad6b8 ADD R3, PC; "Channel::getIndex" ; +0x5e, 0xad6ba BL sub_BAB40 ; +0x60, 0xad6bc B loc_AD6C4 ; +0x64, 0xad6c0 MOVS R4, #0 ; +0x66, 0xad6c2 ADD R0, SP, #0x110+var_8 ; +0x68, 0xad6c4 BL sub_444C0 ; +0x6a, 0xad6c6 MOV R0, R4 ; +0x6e, 0xad6ca ADD SP, SP, #0x110 ; +0x70, 0xad6cc POP.W {R8} ; +0x72, 0xad6ce POP {R4-R7,PC} ; +0x76, 0xad6d2