; ; FMOD::Sound::getMode from 0xb5ffc to 0xb607c (128 bytes) ; ; 1 xrefs: ; > FMOD::Sound::getMode @ 0xe0678 ; ; 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:43 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xb5ffc ADD R7, SP, #0xC ; +0x2, 0xb5ffe PUSH.W {R8} ; +0x4, 0xb6000 SUB SP, SP, #0x108 ; +0x8, 0xb6004 MOV R8, R1 ; +0xa, 0xb6006 ADD R1, SP, #0x108+var_4 ; +0xc, 0xb6008 MOVS R2, #0 ; +0xe, 0xb600a MOV R4, R0 ; +0x10, 0xb600c BL sub_54E84 ; +0x12, 0xb600e MOV R6, R0 ; +0x16, 0xb6012 CBNZ R0, loc_B6046 ; +0x18, 0xb6014 LDR R0, [SP,#0x108+var_4] ; +0x1a, 0xb6016 LDR.W R0, [R0,#0xBC] ; +0x1c, 0xb6018 DMB.W ISH ; +0x20, 0xb601c CBZ R0, loc_B6030 ; +0x24, 0xb6020 LDR R0, [SP,#0x108+var_4] ; +0x26, 0xb6022 LDR.W R0, [R0,#0xBC] ; +0x28, 0xb6024 DMB.W ISH ; +0x2c, 0xb6028 CMP R0, #7 ; +0x30, 0xb602c BNE loc_B6044 ; +0x32, 0xb602e LDR R0, [SP,#0x108+var_4] ; +0x34, 0xb6030 LDR R1, [R0] ; +0x36, 0xb6032 LDR.W R2, [R1,#0x90] ; +0x38, 0xb6034 MOV R1, R8 ; +0x3c, 0xb6038 BLX R2 ; +0x3e, 0xb603a MOV R6, R0 ; +0x40, 0xb603c CBNZ R0, loc_B6046 ; +0x42, 0xb603e MOVS R6, #0 ; +0x44, 0xb6040 B loc_B6072 ; +0x46, 0xb6042 MOVS R6, #0x2E ; '.' ; +0x48, 0xb6044 LDR R0, =(off_E6144 - 0xB604C) ; +0x4a, 0xb6046 ADD R0, PC; off_E6144 ; +0x4c, 0xb6048 LDR R0, [R0]; off_E8000 ; +0x4e, 0xb604a LDR R0, [R0]; dword_F2488 ; +0x50, 0xb604c LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x52, 0xb604e LSLS R0, R0, #0x18 ; +0x54, 0xb6050 BPL loc_B6072 ; +0x56, 0xb6052 ADD R5, SP, #0x108+var_104 ; +0x58, 0xb6054 MOV.W R1, #0x100 ; +0x5a, 0xb6056 MOV R2, R8 ; +0x5e, 0xb605a MOV R0, R5 ; +0x60, 0xb605c BL sub_5CA18 ; +0x62, 0xb605e STR R5, [SP,#0x108+var_108] ; +0x66, 0xb6062 MOV R0, R6 ; +0x68, 0xb6064 LDR R3, =(aSoundGetmode - 0xB6070); "Sound::getMode" ... ; +0x6a, 0xb6066 MOVS R1, #5 ; +0x6c, 0xb6068 MOV R2, R4 ; +0x6e, 0xb606a ADD R3, PC; "Sound::getMode" ; +0x70, 0xb606c BL sub_BAB40 ; +0x72, 0xb606e MOV R0, R6 ; +0x76, 0xb6072 ADD SP, SP, #0x108 ; +0x78, 0xb6074 POP.W {R8} ; +0x7a, 0xb6076 POP {R4-R7,PC} ; +0x7e, 0xb607a