; ; FMOD::Channel::setPriority from 0xad0fc to 0xad16c (112 bytes) ; ; 1 xrefs: ; > FMOD::Channel::setPriority @ 0xe0b28 ; ; 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, 0xad0fc ADD R7, SP, #0xC ; +0x2, 0xad0fe PUSH.W {R8} ; +0x4, 0xad100 SUB SP, SP, #0x110 ; +0x8, 0xad104 MOV R6, R1 ; +0xa, 0xad106 MOV R5, R0 ; +0xc, 0xad108 MOVS R0, #0 ; +0xe, 0xad10a ADD R1, SP, #0x110+var_4 ; +0x10, 0xad10c ADD R2, SP, #0x110+var_8 ; +0x12, 0xad10e STR R0, [SP,#0x110+var_8] ; +0x14, 0xad110 MOV R0, R5 ; +0x16, 0xad112 BLX j__ZN4FMOD8ChannelI8validateEPNS_7ChannelEPPS0_PNS_15SystemLockScopeE; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI**,FMOD::SystemLockScope *) ; +0x18, 0xad114 MOV R4, R0 ; +0x1c, 0xad118 CBNZ R0, loc_AD128 ; +0x1e, 0xad11a LDR R0, [SP,#0x110+var_4] ; +0x20, 0xad11c MOV R1, R6 ; +0x22, 0xad11e BL sub_4C124 ; +0x24, 0xad120 MOV R4, R0 ; +0x28, 0xad124 CBZ R0, loc_AD15A ; +0x2a, 0xad126 LDR R0, =(off_E6144 - 0xAD12E) ; +0x2c, 0xad128 ADD R0, PC; off_E6144 ; +0x2e, 0xad12a LDR R0, [R0]; off_E8000 ; +0x30, 0xad12c LDR R0, [R0]; dword_F2488 ; +0x32, 0xad12e LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x34, 0xad130 LSLS R0, R0, #0x18 ; +0x36, 0xad132 BPL loc_AD15C ; +0x38, 0xad134 ADD.W R8, SP, #0x110+var_108 ; +0x3a, 0xad136 MOV.W R1, #0x100 ; +0x3e, 0xad13a MOV R2, R6 ; +0x42, 0xad13e MOV R0, R8 ; +0x44, 0xad140 BL sub_5C8CC ; +0x46, 0xad142 STR.W R8, [SP,#0x110+var_110] ; +0x4a, 0xad146 MOV R0, R4 ; +0x4e, 0xad14a LDR R3, =(aChannelSetprio - 0xAD156); "Channel::setPriority" ... ; +0x50, 0xad14c MOVS R1, #2 ; +0x52, 0xad14e MOV R2, R5 ; +0x54, 0xad150 ADD R3, PC; "Channel::setPriority" ; +0x56, 0xad152 BL sub_BAB40 ; +0x58, 0xad154 B loc_AD15C ; +0x5c, 0xad158 MOVS R4, #0 ; +0x5e, 0xad15a ADD R0, SP, #0x110+var_8 ; +0x60, 0xad15c BL sub_444C0 ; +0x62, 0xad15e MOV R0, R4 ; +0x66, 0xad162 ADD SP, SP, #0x110 ; +0x68, 0xad164 POP.W {R8} ; +0x6a, 0xad166 POP {R4-R7,PC} ; +0x6e, 0xad16a