; ; FMOD::ChannelControl::set3DAttributes from 0xaf270 to 0xaf2ea (122 bytes) ; ; 1 xrefs: ; > FMOD::ChannelControl::set3DAttributes @ 0xe09a8 ; ; 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, 0xaf270 ADD R7, SP, #0xC ; +0x2, 0xaf272 PUSH.W {R8,R9,R11} ; +0x4, 0xaf274 SUB SP, SP, #0x110 ; +0x8, 0xaf278 MOV R8, R2 ; +0xa, 0xaf27a MOV R6, R1 ; +0xc, 0xaf27c MOV R4, R0 ; +0xe, 0xaf27e MOVS R0, #0 ; +0x10, 0xaf280 ADD R1, SP, #0x110+var_4 ; +0x12, 0xaf282 ADD R2, SP, #0x110+var_8 ; +0x14, 0xaf284 STR R0, [SP,#0x110+var_8] ; +0x16, 0xaf286 MOV R0, R4 ; +0x18, 0xaf288 BL sub_47C34 ; +0x1a, 0xaf28a MOV R5, R0 ; +0x1e, 0xaf28e CBNZ R0, loc_AF2A4 ; +0x20, 0xaf290 LDR R0, [SP,#0x110+var_4] ; +0x22, 0xaf292 MOV R2, R8 ; +0x24, 0xaf294 LDR R1, [R0] ; +0x26, 0xaf296 LDR.W R3, [R1,#0xA0] ; +0x28, 0xaf298 MOV R1, R6 ; +0x2c, 0xaf29c BLX R3 ; +0x2e, 0xaf29e MOV R5, R0 ; +0x30, 0xaf2a0 CBZ R0, loc_AF2D8 ; +0x32, 0xaf2a2 LDR R0, =(off_E6144 - 0xAF2AA) ; +0x34, 0xaf2a4 ADD R0, PC; off_E6144 ; +0x36, 0xaf2a6 LDR R0, [R0]; off_E8000 ; +0x38, 0xaf2a8 LDR R0, [R0]; dword_F2488 ; +0x3a, 0xaf2aa LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x3c, 0xaf2ac LSLS R0, R0, #0x18 ; +0x3e, 0xaf2ae BPL loc_AF2DA ; +0x40, 0xaf2b0 ADD.W R9, SP, #0x110+var_108 ; +0x42, 0xaf2b2 MOV.W R1, #0x100 ; +0x46, 0xaf2b6 MOV R2, R6 ; +0x4a, 0xaf2ba MOV R3, R8 ; +0x4c, 0xaf2bc MOV R0, R9 ; +0x4e, 0xaf2be BL sub_AF2F4 ; +0x50, 0xaf2c0 STR.W R9, [SP,#0x110+var_110] ; +0x54, 0xaf2c4 MOV R0, R5 ; +0x58, 0xaf2c8 LDR R3, =(aChannelcontrol_38 - 0xAF2D4); "ChannelControl::set3DAttributes" ... ; +0x5a, 0xaf2ca MOVS R1, #4 ; +0x5c, 0xaf2cc MOV R2, R4 ; +0x5e, 0xaf2ce ADD R3, PC; "ChannelControl::set3DAttributes" ; +0x60, 0xaf2d0 BL sub_BAB40 ; +0x62, 0xaf2d2 B loc_AF2DA ; +0x66, 0xaf2d6 MOVS R5, #0 ; +0x68, 0xaf2d8 ADD R0, SP, #0x110+var_8 ; +0x6a, 0xaf2da BL sub_444C0 ; +0x6c, 0xaf2dc MOV R0, R5 ; +0x70, 0xaf2e0 ADD SP, SP, #0x110 ; +0x72, 0xaf2e2 POP.W {R8,R9,R11} ; +0x74, 0xaf2e4 POP {R4-R7,PC} ; +0x78, 0xaf2e8