; ; FMOD::Channel::setPosition from 0xad1f4 to 0xad26a (118 bytes) ; ; 1 xrefs: ; > FMOD::Channel::setPosition @ 0xe0b48 ; ; 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, 0xad1f4 ADD R7, SP, #0xC ; +0x2, 0xad1f6 PUSH.W {R8,R9,R11} ; +0x4, 0xad1f8 SUB SP, SP, #0x110 ; +0x8, 0xad1fc MOV R8, R2 ; +0xa, 0xad1fe MOV R6, R1 ; +0xc, 0xad200 MOV R4, R0 ; +0xe, 0xad202 MOVS R0, #0 ; +0x10, 0xad204 ADD R1, SP, #0x110+var_4 ; +0x12, 0xad206 ADD R2, SP, #0x110+var_8 ; +0x14, 0xad208 STR R0, [SP,#0x110+var_8] ; +0x16, 0xad20a MOV R0, R4 ; +0x18, 0xad20c BLX j__ZN4FMOD8ChannelI8validateEPNS_7ChannelEPPS0_PNS_15SystemLockScopeE; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI**,FMOD::SystemLockScope *) ; +0x1a, 0xad20e MOV R5, R0 ; +0x1e, 0xad212 CBNZ R0, loc_AD224 ; +0x20, 0xad214 LDR R0, [SP,#0x110+var_4] ; +0x22, 0xad216 MOV R1, R6 ; +0x24, 0xad218 MOV R2, R8 ; +0x26, 0xad21a BL sub_4B298 ; +0x28, 0xad21c MOV R5, R0 ; +0x2c, 0xad220 CBZ R0, loc_AD258 ; +0x2e, 0xad222 LDR R0, =(off_E6144 - 0xAD22A) ; +0x30, 0xad224 ADD R0, PC; off_E6144 ; +0x32, 0xad226 LDR R0, [R0]; off_E8000 ; +0x34, 0xad228 LDR R0, [R0]; dword_F2488 ; +0x36, 0xad22a LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x38, 0xad22c LSLS R0, R0, #0x18 ; +0x3a, 0xad22e BPL loc_AD25A ; +0x3c, 0xad230 ADD.W R9, SP, #0x110+var_108 ; +0x3e, 0xad232 MOV.W R1, #0x100 ; +0x42, 0xad236 MOV R2, R6 ; +0x46, 0xad23a MOV R3, R8 ; +0x48, 0xad23c MOV R0, R9 ; +0x4a, 0xad23e BL sub_AD274 ; +0x4c, 0xad240 STR.W R9, [SP,#0x110+var_110] ; +0x50, 0xad244 MOV R0, R5 ; +0x54, 0xad248 LDR R3, =(aChannelSetposi - 0xAD254); "Channel::setPosition" ... ; +0x56, 0xad24a MOVS R1, #2 ; +0x58, 0xad24c MOV R2, R4 ; +0x5a, 0xad24e ADD R3, PC; "Channel::setPosition" ; +0x5c, 0xad250 BL sub_BAB40 ; +0x5e, 0xad252 B loc_AD25A ; +0x62, 0xad256 MOVS R5, #0 ; +0x64, 0xad258 ADD R0, SP, #0x110+var_8 ; +0x66, 0xad25a BL sub_444C0 ; +0x68, 0xad25c MOV R0, R5 ; +0x6c, 0xad260 ADD SP, SP, #0x110 ; +0x6e, 0xad262 POP.W {R8,R9,R11} ; +0x70, 0xad264 POP {R4-R7,PC} ; +0x74, 0xad268