; ; FMOD::Sound::setMusicSpeed from 0x1005e7aac to 0x1005e7bd8 (300 bytes) ; ; 1 xrefs: ; > sub_1005793AC @ 0x1005793b0 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; 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:09:43 +0000 ; SUB SP, SP, #0x160 ; +0x0, 0x1005e7aac STP D9, D8, [SP,#0x150+var_30] ; +0x4, 0x1005e7ab0 STP X28, X27, [SP,#0x150+var_20] ; +0x8, 0x1005e7ab4 STP X20, X19, [SP,#0x150+var_10] ; +0xc, 0x1005e7ab8 STP X29, X30, [SP,#0x150+var_s0] ; +0x10, 0x1005e7abc ADD X29, SP, #0x150 ; +0x14, 0x1005e7ac0 FMOV S8, S0 ; +0x18, 0x1005e7ac4 MOV X19, X0 ; +0x1c, 0x1005e7ac8 ADRP X8, #___stack_chk_guard_ptr@PAGE ; +0x20, 0x1005e7acc LDR X8, [X8,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0x24, 0x1005e7ad0 LDR X8, [X8] ; +0x28, 0x1005e7ad4 STUR X8, [X29,#var_38] ; +0x2c, 0x1005e7ad8 STR XZR, [SP,#0x150+var_148] ; +0x30, 0x1005e7adc ADD X1, SP, #0x150+var_140 ; +0x34, 0x1005e7ae0 ADD X2, SP, #0x150+var_148 ; +0x38, 0x1005e7ae4 BL sub_1005E9E48 ; +0x3c, 0x1005e7ae8 MOV X20, X0 ; +0x40, 0x1005e7aec CBNZ W0, loc_1005E7B50 ; +0x44, 0x1005e7af0 LDR X8, [SP,#0x150+var_140] ; +0x48, 0x1005e7af4 ADD X8, X8, #0x110 ; +0x4c, 0x1005e7af8 LDAR W8, [X8] ; +0x50, 0x1005e7afc CBZ W8, loc_1005E7B2C ; +0x54, 0x1005e7b00 LDR X8, [SP,#0x150+var_140] ; +0x58, 0x1005e7b04 ADD X8, X8, #0x110 ; +0x5c, 0x1005e7b08 LDAR W8, [X8] ; +0x60, 0x1005e7b0c CMP W8, #7 ; +0x64, 0x1005e7b10 B.EQ loc_1005E7B2C ; +0x68, 0x1005e7b14 LDR X8, [SP,#0x150+var_140] ; +0x6c, 0x1005e7b18 ADD X8, X8, #0x110 ; +0x70, 0x1005e7b1c LDAR W8, [X8] ; +0x74, 0x1005e7b20 CMP W8, #5 ; +0x78, 0x1005e7b24 B.NE loc_1005E7B4C ; +0x7c, 0x1005e7b28 LDR X0, [SP,#0x150+var_140] ; +0x80, 0x1005e7b2c LDR X8, [X0] ; +0x84, 0x1005e7b30 LDR X8, [X8,#0x160] ; +0x88, 0x1005e7b34 FMOV S0, S8 ; +0x8c, 0x1005e7b38 BLR X8 ; +0x90, 0x1005e7b3c MOV X20, X0 ; +0x94, 0x1005e7b40 CBNZ W0, loc_1005E7B50 ; +0x98, 0x1005e7b44 B loc_1005E7B90 ; +0x9c, 0x1005e7b48 MOV W20, #0x2E ; '.' ; +0xa0, 0x1005e7b4c ADRL X8, off_1009DA5E8 ; +0xa4, 0x1005e7b50 LDR X8, [X8]; unk_100A02230 ; +0xac, 0x1005e7b58 LDRB W8, [X8,#(dword_100A02250 - 0x100A02230)] ; +0xb0, 0x1005e7b5c TBZ W8, #7, loc_1005E7B90 ; +0xb4, 0x1005e7b60 ADD X0, SP, #0x150+var_138 ; +0xb8, 0x1005e7b64 MOV W1, #0x100 ; +0xbc, 0x1005e7b68 FMOV S0, S8 ; +0xc0, 0x1005e7b6c BL sub_10055BF2C ; +0xc4, 0x1005e7b70 ADRL X3, aSoundSetmusics; "Sound::setMusicSpeed" ; +0xc8, 0x1005e7b74 ADD X4, SP, #0x150+var_138 ; +0xd0, 0x1005e7b7c MOV X0, X20 ; +0xd4, 0x1005e7b80 MOV W1, #5 ; +0xd8, 0x1005e7b84 MOV X2, X19 ; +0xdc, 0x1005e7b88 BL sub_1005AAA04 ; +0xe0, 0x1005e7b8c LDR X0, [SP,#0x150+var_148] ; +0xe4, 0x1005e7b90 CBZ X0, loc_1005E7BA0 ; +0xe8, 0x1005e7b94 MOV W1, #0xD ; +0xec, 0x1005e7b98 BL sub_100568CE4 ; +0xf0, 0x1005e7b9c LDUR X8, [X29,#var_38] ; +0xf4, 0x1005e7ba0 ADRP X9, #___stack_chk_guard_ptr@PAGE ; +0xf8, 0x1005e7ba4 LDR X9, [X9,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0xfc, 0x1005e7ba8 LDR X9, [X9] ; +0x100, 0x1005e7bac CMP X9, X8 ; +0x104, 0x1005e7bb0 B.NE loc_1005E7BD4 ; +0x108, 0x1005e7bb4 MOV X0, X20 ; +0x10c, 0x1005e7bb8 LDP X29, X30, [SP,#0x150+var_s0] ; +0x110, 0x1005e7bbc LDP X20, X19, [SP,#0x150+var_10] ; +0x114, 0x1005e7bc0 LDP X28, X27, [SP,#0x150+var_20] ; +0x118, 0x1005e7bc4 LDP D9, D8, [SP,#0x150+var_30] ; +0x11c, 0x1005e7bc8 ADD SP, SP, #0x160 ; +0x120, 0x1005e7bcc RET ; +0x124, 0x1005e7bd0 BL ___stack_chk_fail ; +0x128, 0x1005e7bd4