; ; FMOD::Sound::setMusicChannelVolume from 0xb639c to 0xb643c (160 bytes) ; ; 1 xrefs: ; > FMOD::Sound::setMusicChannelVolume @ 0xe06d8 ; ; 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, 0xb639c ADD R7, SP, #0xC ; +0x2, 0xb639e PUSH.W {R8,R9,R11} ; +0x4, 0xb63a0 SUB SP, SP, #0x110 ; +0x8, 0xb63a4 MOV R8, R2 ; +0xa, 0xb63a6 MOV R9, R1 ; +0xc, 0xb63a8 MOV R4, R0 ; +0xe, 0xb63aa MOVS R0, #0 ; +0x10, 0xb63ac ADD R1, SP, #0x110+var_4 ; +0x12, 0xb63ae ADD R2, SP, #0x110+var_8 ; +0x14, 0xb63b0 STR R0, [SP,#0x110+var_8] ; +0x16, 0xb63b2 MOV R0, R4 ; +0x18, 0xb63b4 BL sub_54E84 ; +0x1a, 0xb63b6 MOV R5, R0 ; +0x1e, 0xb63ba CBNZ R0, loc_B63FE ; +0x20, 0xb63bc LDR R0, [SP,#0x110+var_4] ; +0x22, 0xb63be LDR.W R0, [R0,#0xBC] ; +0x24, 0xb63c0 DMB.W ISH ; +0x28, 0xb63c4 CBZ R0, loc_B63E6 ; +0x2c, 0xb63c8 LDR R0, [SP,#0x110+var_4] ; +0x2e, 0xb63ca LDR.W R0, [R0,#0xBC] ; +0x30, 0xb63cc DMB.W ISH ; +0x34, 0xb63d0 CMP R0, #7 ; +0x38, 0xb63d4 BEQ loc_B63E6 ; +0x3a, 0xb63d6 LDR R0, [SP,#0x110+var_4] ; +0x3c, 0xb63d8 LDR.W R0, [R0,#0xBC] ; +0x3e, 0xb63da DMB.W ISH ; +0x42, 0xb63de CMP R0, #5 ; +0x46, 0xb63e2 BNE loc_B63FC ; +0x48, 0xb63e4 LDR R0, [SP,#0x110+var_4] ; +0x4a, 0xb63e6 MOV R2, R8 ; +0x4c, 0xb63e8 LDR R1, [R0] ; +0x4e, 0xb63ea LDR.W R3, [R1,#0xA8] ; +0x50, 0xb63ec MOV R1, R9 ; +0x54, 0xb63f0 BLX R3 ; +0x56, 0xb63f2 MOV R5, R0 ; +0x58, 0xb63f4 CBNZ R0, loc_B63FE ; +0x5a, 0xb63f6 MOVS R5, #0 ; +0x5c, 0xb63f8 B loc_B642C ; +0x5e, 0xb63fa MOVS R5, #0x2E ; '.' ; +0x60, 0xb63fc LDR R0, =(off_E6144 - 0xB6404) ; +0x62, 0xb63fe ADD R0, PC; off_E6144 ; +0x64, 0xb6400 LDR R0, [R0]; off_E8000 ; +0x66, 0xb6402 LDR R0, [R0]; dword_F2488 ; +0x68, 0xb6404 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x6a, 0xb6406 LSLS R0, R0, #0x18 ; +0x6c, 0xb6408 BPL loc_B642C ; +0x6e, 0xb640a ADD R6, SP, #0x110+var_108 ; +0x70, 0xb640c MOV.W R1, #0x100 ; +0x72, 0xb640e MOV R2, R9 ; +0x76, 0xb6412 MOV R3, R8 ; +0x78, 0xb6414 MOV R0, R6 ; +0x7a, 0xb6416 BL sub_AE084 ; +0x7c, 0xb6418 STR R6, [SP,#0x110+var_110] ; +0x80, 0xb641c MOV R0, R5 ; +0x82, 0xb641e LDR R3, =(aSoundSetmusicc - 0xB642A); "Sound::setMusicChannelVolume" ... ; +0x84, 0xb6420 MOVS R1, #5 ; +0x86, 0xb6422 MOV R2, R4 ; +0x88, 0xb6424 ADD R3, PC; "Sound::setMusicChannelVolume" ; +0x8a, 0xb6426 BL sub_BAB40 ; +0x8c, 0xb6428 ADD R0, SP, #0x110+var_8 ; +0x90, 0xb642c BL sub_6429C ; +0x92, 0xb642e MOV R0, R5 ; +0x96, 0xb6432 ADD SP, SP, #0x110 ; +0x98, 0xb6434 POP.W {R8,R9,R11} ; +0x9a, 0xb6436 POP {R4-R7,PC} ; +0x9e, 0xb643a