; ; FMOD::ChannelControl::set3DConeSettings from 0xaf560 to 0xaf5ea (138 bytes) ; ; 1 xrefs: ; > FMOD::ChannelControl::set3DConeSettings @ 0xe09e8 ; ; 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:40 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xaf560 ADD R7, SP, #0xC ; +0x2, 0xaf562 PUSH.W {R8,R9,R11} ; +0x4, 0xaf564 VPUSH {D8} ; +0x8, 0xaf568 SUB SP, SP, #0x110 ; +0xc, 0xaf56c MOV R8, R2 ; +0xe, 0xaf56e MOV R9, R1 ; +0x10, 0xaf570 MOV R4, R0 ; +0x12, 0xaf572 MOVS R0, #0 ; +0x14, 0xaf574 ADD R1, SP, #0x110+var_4 ; +0x16, 0xaf576 ADD R2, SP, #0x110+var_8 ; +0x18, 0xaf578 STR R0, [SP,#0x110+var_8] ; +0x1a, 0xaf57a MOV R0, R4 ; +0x1c, 0xaf57c MOV R6, R3 ; +0x1e, 0xaf57e BL sub_47C34 ; +0x20, 0xaf580 VMOV S16, R6 ; +0x24, 0xaf584 MOV R5, R0 ; +0x28, 0xaf588 CBNZ R0, loc_AF5A0 ; +0x2a, 0xaf58a LDR R0, [SP,#0x110+var_4] ; +0x2c, 0xaf58c MOV R2, R8 ; +0x2e, 0xaf58e MOV R3, R6 ; +0x30, 0xaf590 LDR R1, [R0] ; +0x32, 0xaf592 LDR.W R5, [R1,#0xB0] ; +0x34, 0xaf594 MOV R1, R9 ; +0x38, 0xaf598 BLX R5 ; +0x3a, 0xaf59a MOV R5, R0 ; +0x3c, 0xaf59c CBZ R0, loc_AF5D4 ; +0x3e, 0xaf59e LDR R0, =(off_E6144 - 0xAF5A6) ; +0x40, 0xaf5a0 ADD R0, PC; off_E6144 ; +0x42, 0xaf5a2 LDR R0, [R0]; off_E8000 ; +0x44, 0xaf5a4 LDR R0, [R0]; dword_F2488 ; +0x46, 0xaf5a6 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x48, 0xaf5a8 LSLS R0, R0, #0x18 ; +0x4a, 0xaf5aa BPL loc_AF5D6 ; +0x4c, 0xaf5ac ADD R6, SP, #0x110+var_108 ; +0x4e, 0xaf5ae MOV.W R1, #0x100 ; +0x50, 0xaf5b0 MOV R2, R9 ; +0x54, 0xaf5b4 MOV R3, R8 ; +0x56, 0xaf5b6 MOV R0, R6 ; +0x58, 0xaf5b8 VSTR S16, [SP,#0x110+var_110] ; +0x5a, 0xaf5ba BL sub_AF5F4 ; +0x5e, 0xaf5be STR R6, [SP,#0x110+var_110] ; +0x62, 0xaf5c2 MOV R0, R5 ; +0x64, 0xaf5c4 LDR R3, =(aChannelcontrol_42 - 0xAF5D0); "ChannelControl::set3DConeSettings" ... ; +0x66, 0xaf5c6 MOVS R1, #4 ; +0x68, 0xaf5c8 MOV R2, R4 ; +0x6a, 0xaf5ca ADD R3, PC; "ChannelControl::set3DConeSettings" ; +0x6c, 0xaf5cc BL sub_BAB40 ; +0x6e, 0xaf5ce B loc_AF5D6 ; +0x72, 0xaf5d2 MOVS R5, #0 ; +0x74, 0xaf5d4 ADD R0, SP, #0x110+var_8 ; +0x76, 0xaf5d6 BL sub_444C0 ; +0x78, 0xaf5d8 MOV R0, R5 ; +0x7c, 0xaf5dc ADD SP, SP, #0x110 ; +0x7e, 0xaf5de VPOP {D8} ; +0x80, 0xaf5e0 POP.W {R8,R9,R11} ; +0x84, 0xaf5e4 POP {R4-R7,PC} ; +0x88, 0xaf5e8