; ; FMOD::Sound::setSoundGroup from 0xb59f0 to 0xb5a8a (154 bytes) ; ; 1 xrefs: ; > FMOD::Sound::setSoundGroup @ 0xe05f8 ; ; 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, 0xb59f0 ADD R7, SP, #0xC ; +0x2, 0xb59f2 PUSH.W {R8} ; +0x4, 0xb59f4 SUB SP, SP, #0x108 ; +0x8, 0xb59f8 MOV R8, R1 ; +0xa, 0xb59fa ADD R1, SP, #0x108+var_4 ; +0xc, 0xb59fc MOVS R2, #0 ; +0xe, 0xb59fe MOV R4, R0 ; +0x10, 0xb5a00 MOVS R5, #0 ; +0x12, 0xb5a02 BL sub_54E84 ; +0x14, 0xb5a04 MOV R6, R0 ; +0x18, 0xb5a08 CBNZ R0, loc_B5A50 ; +0x1a, 0xb5a0a LDR R0, [SP,#0x108+var_4] ; +0x1c, 0xb5a0c STR R5, [SP,#0x108+var_104] ; +0x1e, 0xb5a0e LDR.W R1, [R0,#0x9C] ; +0x20, 0xb5a10 ADD R0, SP, #0x108+var_104 ; +0x24, 0xb5a14 BL sub_431D0 ; +0x26, 0xb5a16 MOV R6, R0 ; +0x2a, 0xb5a1a CBNZ R0, loc_B5A48 ; +0x2c, 0xb5a1c LDR R0, [SP,#0x108+var_4] ; +0x2e, 0xb5a1e LDR.W R0, [R0,#0xBC] ; +0x30, 0xb5a20 DMB.W ISH ; +0x34, 0xb5a24 CBZ R0, loc_B5A38 ; +0x38, 0xb5a28 LDR R0, [SP,#0x108+var_4] ; +0x3a, 0xb5a2a LDR.W R0, [R0,#0xBC] ; +0x3c, 0xb5a2c DMB.W ISH ; +0x40, 0xb5a30 CMP R0, #7 ; +0x44, 0xb5a34 BNE loc_B5A46 ; +0x46, 0xb5a36 LDR R0, [SP,#0x108+var_4] ; +0x48, 0xb5a38 LDR R1, [R0] ; +0x4a, 0xb5a3a LDR R2, [R1,#0x6C] ; +0x4c, 0xb5a3c MOV R1, R8 ; +0x4e, 0xb5a3e BLX R2 ; +0x50, 0xb5a40 MOV R6, R0 ; +0x52, 0xb5a42 B loc_B5A48 ; +0x54, 0xb5a44 MOVS R6, #0x2E ; '.' ; +0x56, 0xb5a46 ADD R0, SP, #0x108+var_104 ; +0x58, 0xb5a48 BL sub_444C0 ; +0x5a, 0xb5a4a CBZ R6, loc_B5A7E ; +0x5e, 0xb5a4e LDR R0, =(off_E6144 - 0xB5A56) ; +0x60, 0xb5a50 ADD R0, PC; off_E6144 ; +0x62, 0xb5a52 LDR R0, [R0]; off_E8000 ; +0x64, 0xb5a54 LDR R0, [R0]; dword_F2488 ; +0x66, 0xb5a56 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x68, 0xb5a58 LSLS R0, R0, #0x18 ; +0x6a, 0xb5a5a BPL loc_B5A80 ; +0x6c, 0xb5a5c ADD R5, SP, #0x108+var_104 ; +0x6e, 0xb5a5e MOV.W R1, #0x100 ; +0x70, 0xb5a60 MOV R2, R8 ; +0x74, 0xb5a64 MOV R0, R5 ; +0x76, 0xb5a66 BL sub_5CBD8 ; +0x78, 0xb5a68 STR R5, [SP,#0x108+var_108] ; +0x7c, 0xb5a6c MOV R0, R6 ; +0x7e, 0xb5a6e LDR R3, =(aSoundSetsoundg - 0xB5A7A); "Sound::setSoundGroup" ... ; +0x80, 0xb5a70 MOVS R1, #5 ; +0x82, 0xb5a72 MOV R2, R4 ; +0x84, 0xb5a74 ADD R3, PC; "Sound::setSoundGroup" ; +0x86, 0xb5a76 BL sub_BAB40 ; +0x88, 0xb5a78 B loc_B5A80 ; +0x8c, 0xb5a7c MOVS R6, #0 ; +0x8e, 0xb5a7e MOV R0, R6 ; +0x90, 0xb5a80 ADD SP, SP, #0x108 ; +0x92, 0xb5a82 POP.W {R8} ; +0x94, 0xb5a84 POP {R4-R7,PC} ; +0x98, 0xb5a88