; ; FMOD::Sound::setLoopCount from 0xb6084 to 0xb6110 (140 bytes) ; ; 1 xrefs: ; > FMOD::Sound::setLoopCount @ 0xe0688 ; ; 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, 0xb6084 ADD R7, SP, #0xC ; +0x2, 0xb6086 PUSH.W {R8} ; +0x4, 0xb6088 SUB SP, SP, #0x110 ; +0x8, 0xb608c MOV R8, R1 ; +0xa, 0xb608e MOV R4, R0 ; +0xc, 0xb6090 MOVS R0, #0 ; +0xe, 0xb6092 ADD R1, SP, #0x110+var_4 ; +0x10, 0xb6094 ADD R2, SP, #0x110+var_8 ; +0x12, 0xb6096 STR R0, [SP,#0x110+var_8] ; +0x14, 0xb6098 MOV R0, R4 ; +0x16, 0xb609a BL sub_54E84 ; +0x18, 0xb609c MOV R6, R0 ; +0x1c, 0xb60a0 CBNZ R0, loc_B60D4 ; +0x1e, 0xb60a2 LDR R0, [SP,#0x110+var_4] ; +0x20, 0xb60a4 LDR.W R0, [R0,#0xBC] ; +0x22, 0xb60a6 DMB.W ISH ; +0x26, 0xb60aa CBZ R0, loc_B60BE ; +0x2a, 0xb60ae LDR R0, [SP,#0x110+var_4] ; +0x2c, 0xb60b0 LDR.W R0, [R0,#0xBC] ; +0x2e, 0xb60b2 DMB.W ISH ; +0x32, 0xb60b6 CMP R0, #7 ; +0x36, 0xb60ba BNE loc_B60D2 ; +0x38, 0xb60bc LDR R0, [SP,#0x110+var_4] ; +0x3a, 0xb60be LDR R1, [R0] ; +0x3c, 0xb60c0 LDR.W R2, [R1,#0x94] ; +0x3e, 0xb60c2 MOV R1, R8 ; +0x42, 0xb60c6 BLX R2 ; +0x44, 0xb60c8 MOV R6, R0 ; +0x46, 0xb60ca CBNZ R0, loc_B60D4 ; +0x48, 0xb60cc MOVS R6, #0 ; +0x4a, 0xb60ce B loc_B6100 ; +0x4c, 0xb60d0 MOVS R6, #0x2E ; '.' ; +0x4e, 0xb60d2 LDR R0, =(off_E6144 - 0xB60DA) ; +0x50, 0xb60d4 ADD R0, PC; off_E6144 ; +0x52, 0xb60d6 LDR R0, [R0]; off_E8000 ; +0x54, 0xb60d8 LDR R0, [R0]; dword_F2488 ; +0x56, 0xb60da LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x58, 0xb60dc LSLS R0, R0, #0x18 ; +0x5a, 0xb60de BPL loc_B6100 ; +0x5c, 0xb60e0 ADD R5, SP, #0x110+var_108 ; +0x5e, 0xb60e2 MOV.W R1, #0x100 ; +0x60, 0xb60e4 MOV R2, R8 ; +0x64, 0xb60e8 MOV R0, R5 ; +0x66, 0xb60ea BL sub_5C8CC ; +0x68, 0xb60ec STR R5, [SP,#0x110+var_110] ; +0x6c, 0xb60f0 MOV R0, R6 ; +0x6e, 0xb60f2 LDR R3, =(aSoundSetloopco - 0xB60FE); "Sound::setLoopCount" ... ; +0x70, 0xb60f4 MOVS R1, #5 ; +0x72, 0xb60f6 MOV R2, R4 ; +0x74, 0xb60f8 ADD R3, PC; "Sound::setLoopCount" ; +0x76, 0xb60fa BL sub_BAB40 ; +0x78, 0xb60fc ADD R0, SP, #0x110+var_8 ; +0x7c, 0xb6100 BL sub_6429C ; +0x7e, 0xb6102 MOV R0, R6 ; +0x82, 0xb6106 ADD SP, SP, #0x110 ; +0x84, 0xb6108 POP.W {R8} ; +0x86, 0xb610a POP {R4-R7,PC} ; +0x8a, 0xb610e