; ; FMOD::Channel::getLoopPoints from 0xad8d8 to 0xad966 (142 bytes) ; ; 1 xrefs: ; > FMOD::Channel::getLoopPoints @ 0xe0bb8 ; ; 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, 0xad8d8 ADD R7, SP, #0xC ; +0x2, 0xad8da PUSH.W {R8-R10} ; +0x4, 0xad8dc SUB SP, SP, #0x110 ; +0x8, 0xad8e0 MOV R5, R3 ; +0xa, 0xad8e2 MOV R8, R2 ; +0xc, 0xad8e4 MOV R6, R1 ; +0xe, 0xad8e6 MOV R9, R0 ; +0x10, 0xad8e8 CBZ R1, loc_AD8F0 ; +0x12, 0xad8ea MOVS R0, #0 ; +0x14, 0xad8ec STR R0, [R6] ; +0x16, 0xad8ee CBZ R5, loc_AD8F6 ; +0x18, 0xad8f0 MOVS R0, #0 ; +0x1a, 0xad8f2 STR R0, [R5] ; +0x1c, 0xad8f4 MOVS R0, #0 ; +0x1e, 0xad8f6 ADD R1, SP, #0x110+var_4 ; +0x20, 0xad8f8 ADD R2, SP, #0x110+var_8 ; +0x22, 0xad8fa STR R0, [SP,#0x110+var_8] ; +0x24, 0xad8fc MOV R0, R9 ; +0x26, 0xad8fe LDR.W R10, [R7,#-0x18+arg_0] ; +0x28, 0xad900 BLX j__ZN4FMOD8ChannelI8validateEPNS_7ChannelEPPS0_PNS_15SystemLockScopeE; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI**,FMOD::SystemLockScope *) ; +0x2c, 0xad904 MOV R4, R0 ; +0x30, 0xad908 CBNZ R0, loc_AD920 ; +0x32, 0xad90a LDR R0, [SP,#0x110+var_4] ; +0x34, 0xad90c MOV R1, R6 ; +0x36, 0xad90e MOV R2, R8 ; +0x38, 0xad910 MOV R3, R5 ; +0x3a, 0xad912 STR.W R10, [SP,#0x110+var_110] ; +0x3c, 0xad914 BL sub_4B058 ; +0x40, 0xad918 MOV R4, R0 ; +0x44, 0xad91c CBZ R0, loc_AD954 ; +0x46, 0xad91e LDR R0, =(off_E6144 - 0xAD926) ; +0x48, 0xad920 ADD R0, PC; off_E6144 ; +0x4a, 0xad922 LDR R0, [R0]; off_E8000 ; +0x4c, 0xad924 LDR R0, [R0]; dword_F2488 ; +0x4e, 0xad926 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x50, 0xad928 LSLS R0, R0, #0x18 ; +0x52, 0xad92a BPL loc_AD956 ; +0x54, 0xad92c STRD.W R5, R10, [SP,#0x110+var_110] ; +0x56, 0xad92e ADD R5, SP, #0x110+var_108 ; +0x5a, 0xad932 MOV.W R1, #0x100 ; +0x5c, 0xad934 MOV R2, R6 ; +0x60, 0xad938 MOV R0, R5 ; +0x62, 0xad93a MOV R3, R8 ; +0x64, 0xad93c BL sub_AD970 ; +0x66, 0xad93e STR R5, [SP,#0x110+var_110] ; +0x6a, 0xad942 MOV R0, R4 ; +0x6c, 0xad944 LDR R3, =(aChannelGetloop_0 - 0xAD950); "Channel::getLoopPoints" ... ; +0x6e, 0xad946 MOVS R1, #2 ; +0x70, 0xad948 MOV R2, R9 ; +0x72, 0xad94a ADD R3, PC; "Channel::getLoopPoints" ; +0x74, 0xad94c BL sub_BAB40 ; +0x76, 0xad94e B loc_AD956 ; +0x7a, 0xad952 MOVS R4, #0 ; +0x7c, 0xad954 ADD R0, SP, #0x110+var_8 ; +0x7e, 0xad956 BL sub_444C0 ; +0x80, 0xad958 MOV R0, R4 ; +0x84, 0xad95c ADD SP, SP, #0x110 ; +0x86, 0xad95e POP.W {R8-R10} ; +0x88, 0xad960 POP {R4-R7,PC} ; +0x8c, 0xad964