; ; FMOD::Channel::getCurrentSound from 0xad5dc to 0xad654 (120 bytes) ; ; 1 xrefs: ; > FMOD::Channel::getCurrentSound @ 0xe0bd8 ; ; 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, 0xad5dc ADD R7, SP, #0xC ; +0x2, 0xad5de PUSH.W {R8} ; +0x4, 0xad5e0 SUB SP, SP, #0x110 ; +0x8, 0xad5e4 MOV R6, R1 ; +0xa, 0xad5e6 MOV R5, R0 ; +0xc, 0xad5e8 MOVS R0, #0 ; +0xe, 0xad5ea ADD R1, SP, #0x110+var_4 ; +0x10, 0xad5ec ADD R2, SP, #0x110+var_8 ; +0x12, 0xad5ee STR R0, [SP,#0x110+var_8] ; +0x14, 0xad5f0 MOV R0, R5 ; +0x16, 0xad5f2 BLX j__ZN4FMOD8ChannelI8validateEPNS_7ChannelEPPS0_PNS_15SystemLockScopeE; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI**,FMOD::SystemLockScope *) ; +0x18, 0xad5f4 CBZ R0, loc_AD604 ; +0x1c, 0xad5f8 MOV R4, R0 ; +0x1e, 0xad5fa CBZ R6, loc_AD610 ; +0x20, 0xad5fc MOVS R0, #0 ; +0x22, 0xad5fe STR R0, [R6] ; +0x24, 0xad600 B loc_AD610 ; +0x26, 0xad602 LDR R0, [SP,#0x110+var_4] ; +0x28, 0xad604 MOV R1, R6 ; +0x2a, 0xad606 BL sub_4C64A ; +0x2c, 0xad608 MOV R4, R0 ; +0x30, 0xad60c CBZ R0, loc_AD642 ; +0x32, 0xad60e LDR R0, =(off_E6144 - 0xAD616) ; +0x34, 0xad610 ADD R0, PC; off_E6144 ; +0x36, 0xad612 LDR R0, [R0]; off_E8000 ; +0x38, 0xad614 LDR R0, [R0]; dword_F2488 ; +0x3a, 0xad616 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x3c, 0xad618 LSLS R0, R0, #0x18 ; +0x3e, 0xad61a BPL loc_AD644 ; +0x40, 0xad61c ADD.W R8, SP, #0x110+var_108 ; +0x42, 0xad61e MOV.W R1, #0x100 ; +0x46, 0xad622 MOV R2, R6 ; +0x4a, 0xad626 MOV R0, R8 ; +0x4c, 0xad628 BL sub_5CBD8 ; +0x4e, 0xad62a STR.W R8, [SP,#0x110+var_110] ; +0x52, 0xad62e MOV R0, R4 ; +0x56, 0xad632 LDR R3, =(aChannelGetcurr - 0xAD63E); "Channel::getCurrentSound" ... ; +0x58, 0xad634 MOVS R1, #2 ; +0x5a, 0xad636 MOV R2, R5 ; +0x5c, 0xad638 ADD R3, PC; "Channel::getCurrentSound" ; +0x5e, 0xad63a BL sub_BAB40 ; +0x60, 0xad63c B loc_AD644 ; +0x64, 0xad640 MOVS R4, #0 ; +0x66, 0xad642 ADD R0, SP, #0x110+var_8 ; +0x68, 0xad644 BL sub_444C0 ; +0x6a, 0xad646 MOV R0, R4 ; +0x6e, 0xad64a ADD SP, SP, #0x110 ; +0x70, 0xad64c POP.W {R8} ; +0x72, 0xad64e POP {R4-R7,PC} ; +0x76, 0xad652