; ; FMOD::Sound::setMusicSpeed from 0xb64ec to 0xb6586 (154 bytes) ; ; 1 xrefs: ; > FMOD::Sound::setMusicSpeed @ 0xe06f8 ; ; 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, 0xb64ec ADD R7, SP, #0xC ; +0x2, 0xb64ee PUSH.W {R8} ; +0x4, 0xb64f0 SUB SP, SP, #0x110 ; +0x8, 0xb64f4 MOV R8, R1 ; +0xa, 0xb64f6 MOV R4, R0 ; +0xc, 0xb64f8 MOVS R0, #0 ; +0xe, 0xb64fa ADD R1, SP, #0x110+var_4 ; +0x10, 0xb64fc ADD R2, SP, #0x110+var_8 ; +0x12, 0xb64fe STR R0, [SP,#0x110+var_8] ; +0x14, 0xb6500 MOV R0, R4 ; +0x16, 0xb6502 BL sub_54E84 ; +0x18, 0xb6504 MOV R6, R0 ; +0x1c, 0xb6508 CBNZ R0, loc_B654A ; +0x1e, 0xb650a LDR R0, [SP,#0x110+var_4] ; +0x20, 0xb650c LDR.W R0, [R0,#0xBC] ; +0x22, 0xb650e DMB.W ISH ; +0x26, 0xb6512 CBZ R0, loc_B6534 ; +0x2a, 0xb6516 LDR R0, [SP,#0x110+var_4] ; +0x2c, 0xb6518 LDR.W R0, [R0,#0xBC] ; +0x2e, 0xb651a DMB.W ISH ; +0x32, 0xb651e CMP R0, #7 ; +0x36, 0xb6522 BEQ loc_B6534 ; +0x38, 0xb6524 LDR R0, [SP,#0x110+var_4] ; +0x3a, 0xb6526 LDR.W R0, [R0,#0xBC] ; +0x3c, 0xb6528 DMB.W ISH ; +0x40, 0xb652c CMP R0, #5 ; +0x44, 0xb6530 BNE loc_B6548 ; +0x46, 0xb6532 LDR R0, [SP,#0x110+var_4] ; +0x48, 0xb6534 LDR R1, [R0] ; +0x4a, 0xb6536 LDR.W R2, [R1,#0xB0] ; +0x4c, 0xb6538 MOV R1, R8 ; +0x50, 0xb653c BLX R2 ; +0x52, 0xb653e MOV R6, R0 ; +0x54, 0xb6540 CBNZ R0, loc_B654A ; +0x56, 0xb6542 MOVS R6, #0 ; +0x58, 0xb6544 B loc_B6576 ; +0x5a, 0xb6546 MOVS R6, #0x2E ; '.' ; +0x5c, 0xb6548 LDR R0, =(off_E6144 - 0xB6550) ; +0x5e, 0xb654a ADD R0, PC; off_E6144 ; +0x60, 0xb654c LDR R0, [R0]; off_E8000 ; +0x62, 0xb654e LDR R0, [R0]; dword_F2488 ; +0x64, 0xb6550 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x66, 0xb6552 LSLS R0, R0, #0x18 ; +0x68, 0xb6554 BPL loc_B6576 ; +0x6a, 0xb6556 ADD R5, SP, #0x110+var_108 ; +0x6c, 0xb6558 MOV.W R1, #0x100 ; +0x6e, 0xb655a MOV R2, R8 ; +0x72, 0xb655e MOV R0, R5 ; +0x74, 0xb6560 BL sub_5C934 ; +0x76, 0xb6562 STR R5, [SP,#0x110+var_110] ; +0x7a, 0xb6566 MOV R0, R6 ; +0x7c, 0xb6568 LDR R3, =(aSoundSetmusics - 0xB6574); "Sound::setMusicSpeed" ... ; +0x7e, 0xb656a MOVS R1, #5 ; +0x80, 0xb656c MOV R2, R4 ; +0x82, 0xb656e ADD R3, PC; "Sound::setMusicSpeed" ; +0x84, 0xb6570 BL sub_BAB40 ; +0x86, 0xb6572 ADD R0, SP, #0x110+var_8 ; +0x8a, 0xb6576 BL sub_6429C ; +0x8c, 0xb6578 MOV R0, R6 ; +0x90, 0xb657c ADD SP, SP, #0x110 ; +0x92, 0xb657e POP.W {R8} ; +0x94, 0xb6580 POP {R4-R7,PC} ; +0x98, 0xb6584