; ; FMOD::Channel::setLoopCount from 0xad6dc to 0xad74c (112 bytes) ; ; 1 xrefs: ; > FMOD::Channel::setLoopCount @ 0xe0b88 ; ; 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, 0xad6dc ADD R7, SP, #0xC ; +0x2, 0xad6de PUSH.W {R8} ; +0x4, 0xad6e0 SUB SP, SP, #0x110 ; +0x8, 0xad6e4 MOV R6, R1 ; +0xa, 0xad6e6 MOV R5, R0 ; +0xc, 0xad6e8 MOVS R0, #0 ; +0xe, 0xad6ea ADD R1, SP, #0x110+var_4 ; +0x10, 0xad6ec ADD R2, SP, #0x110+var_8 ; +0x12, 0xad6ee STR R0, [SP,#0x110+var_8] ; +0x14, 0xad6f0 MOV R0, R5 ; +0x16, 0xad6f2 BLX j__ZN4FMOD8ChannelI8validateEPNS_7ChannelEPPS0_PNS_15SystemLockScopeE; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI**,FMOD::SystemLockScope *) ; +0x18, 0xad6f4 MOV R4, R0 ; +0x1c, 0xad6f8 CBNZ R0, loc_AD708 ; +0x1e, 0xad6fa LDR R0, [SP,#0x110+var_4] ; +0x20, 0xad6fc MOV R1, R6 ; +0x22, 0xad6fe BL sub_4B278 ; +0x24, 0xad700 MOV R4, R0 ; +0x28, 0xad704 CBZ R0, loc_AD73A ; +0x2a, 0xad706 LDR R0, =(off_E6144 - 0xAD70E) ; +0x2c, 0xad708 ADD R0, PC; off_E6144 ; +0x2e, 0xad70a LDR R0, [R0]; off_E8000 ; +0x30, 0xad70c LDR R0, [R0]; dword_F2488 ; +0x32, 0xad70e LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x34, 0xad710 LSLS R0, R0, #0x18 ; +0x36, 0xad712 BPL loc_AD73C ; +0x38, 0xad714 ADD.W R8, SP, #0x110+var_108 ; +0x3a, 0xad716 MOV.W R1, #0x100 ; +0x3e, 0xad71a MOV R2, R6 ; +0x42, 0xad71e MOV R0, R8 ; +0x44, 0xad720 BL sub_5C8CC ; +0x46, 0xad722 STR.W R8, [SP,#0x110+var_110] ; +0x4a, 0xad726 MOV R0, R4 ; +0x4e, 0xad72a LDR R3, =(aChannelSetloop - 0xAD736); "Channel::setLoopCount" ... ; +0x50, 0xad72c MOVS R1, #2 ; +0x52, 0xad72e MOV R2, R5 ; +0x54, 0xad730 ADD R3, PC; "Channel::setLoopCount" ; +0x56, 0xad732 BL sub_BAB40 ; +0x58, 0xad734 B loc_AD73C ; +0x5c, 0xad738 MOVS R4, #0 ; +0x5e, 0xad73a ADD R0, SP, #0x110+var_8 ; +0x60, 0xad73c BL sub_444C0 ; +0x62, 0xad73e MOV R0, R4 ; +0x66, 0xad742 ADD SP, SP, #0x110 ; +0x68, 0xad744 POP.W {R8} ; +0x6a, 0xad746 POP {R4-R7,PC} ; +0x6e, 0xad74a