; ; FMOD::ChannelControl::getVolumeRamp from 0xadd1c to 0xadd8e (114 bytes) ; ; 1 xrefs: ; > FMOD::ChannelControl::getVolumeRamp @ 0xe07a8 ; ; 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, 0xadd1c ADD R7, SP, #0xC ; +0x2, 0xadd1e PUSH.W {R8} ; +0x4, 0xadd20 SUB SP, SP, #0x110 ; +0x8, 0xadd24 MOV R6, R1 ; +0xa, 0xadd26 MOV R4, R0 ; +0xc, 0xadd28 MOVS R0, #0 ; +0xe, 0xadd2a ADD R1, SP, #0x110+var_4 ; +0x10, 0xadd2c ADD R2, SP, #0x110+var_8 ; +0x12, 0xadd2e STR R0, [SP,#0x110+var_8] ; +0x14, 0xadd30 MOV R0, R4 ; +0x16, 0xadd32 BL sub_47C34 ; +0x18, 0xadd34 MOV R5, R0 ; +0x1c, 0xadd38 CBNZ R0, loc_ADD4A ; +0x1e, 0xadd3a LDR R0, [SP,#0x110+var_4] ; +0x20, 0xadd3c LDR R1, [R0] ; +0x22, 0xadd3e LDR R2, [R1,#0x1C] ; +0x24, 0xadd40 MOV R1, R6 ; +0x26, 0xadd42 BLX R2 ; +0x28, 0xadd44 MOV R5, R0 ; +0x2a, 0xadd46 CBZ R0, loc_ADD7C ; +0x2c, 0xadd48 LDR R0, =(off_E6144 - 0xADD50) ; +0x2e, 0xadd4a ADD R0, PC; off_E6144 ; +0x30, 0xadd4c LDR R0, [R0]; off_E8000 ; +0x32, 0xadd4e LDR R0, [R0]; dword_F2488 ; +0x34, 0xadd50 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x36, 0xadd52 LSLS R0, R0, #0x18 ; +0x38, 0xadd54 BPL loc_ADD7E ; +0x3a, 0xadd56 ADD.W R8, SP, #0x110+var_108 ; +0x3c, 0xadd58 MOV.W R1, #0x100 ; +0x40, 0xadd5c MOV R2, R6 ; +0x44, 0xadd60 MOV R0, R8 ; +0x46, 0xadd62 BL sub_5CAD8 ; +0x48, 0xadd64 STR.W R8, [SP,#0x110+var_110] ; +0x4c, 0xadd68 MOV R0, R5 ; +0x50, 0xadd6c LDR R3, =(aChannelcontrol_6 - 0xADD78); "ChannelControl::getVolumeRamp" ... ; +0x52, 0xadd6e MOVS R1, #4 ; +0x54, 0xadd70 MOV R2, R4 ; +0x56, 0xadd72 ADD R3, PC; "ChannelControl::getVolumeRamp" ; +0x58, 0xadd74 BL sub_BAB40 ; +0x5a, 0xadd76 B loc_ADD7E ; +0x5e, 0xadd7a MOVS R5, #0 ; +0x60, 0xadd7c ADD R0, SP, #0x110+var_8 ; +0x62, 0xadd7e BL sub_444C0 ; +0x64, 0xadd80 MOV R0, R5 ; +0x68, 0xadd84 ADD SP, SP, #0x110 ; +0x6a, 0xadd86 POP.W {R8} ; +0x6c, 0xadd88 POP {R4-R7,PC} ; +0x70, 0xadd8c