; ; CustomSongWidget::onDownload from 0x10011f584 to 0x10011f72c (424 bytes) ; ; 4 xrefs: ; > CustomSongWidget::musicActionFinished @ 0x10012306c ; > sub_100123074 @ 0x100123094 ; > CustomSongWidget::FLAlert_Clicked @ 0x100123118 ; > CustomSongWidget::init @ 0x10011e7ac ; ; 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 10:59:14 +0000 ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x10011f584 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x10011f588 ADD X29, SP, #0x10 ; +0x8, 0x10011f58c MOV X19, X0 ; +0xc, 0x10011f590 LDR X0, [X0,#0x178] ; +0x10, 0x10011f594 LDR X8, [X0] ; +0x14, 0x10011f598 LDR X8, [X8,#0x158] ; +0x18, 0x10011f59c MOV W1, #0 ; +0x1c, 0x10011f5a0 BLR X8 ; +0x20, 0x10011f5a4 LDR X0, [X19,#0x1E0] ; +0x24, 0x10011f5a8 CBZ X0, loc_10011F5C0 ; +0x28, 0x10011f5ac LDR X8, [X0] ; +0x2c, 0x10011f5b0 LDR X8, [X8,#0x158] ; +0x30, 0x10011f5b4 MOV W1, #0 ; +0x34, 0x10011f5b8 BLR X8 ; +0x38, 0x10011f5bc BL GameManager__sharedState ; +0x3c, 0x10011f5c0 ADRL X1, a0016; "0016" ; +0x40, 0x10011f5c4 BL GameManager__getGameVariable ; +0x48, 0x10011f5cc TBZ W0, #0, loc_10011F61C ; +0x4c, 0x10011f5d0 LDRB W8, [X19,#0x211] ; +0x50, 0x10011f5d4 CMP W8, #1 ; +0x54, 0x10011f5d8 B.NE loc_10011F630 ; +0x58, 0x10011f5dc LDR X0, [X19,#0x180] ; +0x5c, 0x10011f5e0 LDR X8, [X0] ; +0x60, 0x10011f5e4 LDR X8, [X8,#0x158] ; +0x64, 0x10011f5e8 MOV W1, #0 ; +0x68, 0x10011f5ec BLR X8 ; +0x6c, 0x10011f5f0 LDR X0, [X19,#0x188] ; +0x70, 0x10011f5f4 LDR X8, [X0] ; +0x74, 0x10011f5f8 LDR X8, [X8,#0x158] ; +0x78, 0x10011f5fc MOV W1, #1 ; +0x7c, 0x10011f600 BLR X8 ; +0x80, 0x10011f604 BL MusicDownloadManager__sharedState ; +0x84, 0x10011f608 LDRSB X8, [X0,#0x187] ; +0x88, 0x10011f60c TBNZ X8, #0x3F, loc_10011F6D0 ; '?' ; +0x8c, 0x10011f610 CBNZ X8, loc_10011F6D8 ; +0x90, 0x10011f614 B loc_10011F6E8 ; +0x94, 0x10011f618 BL MusicDownloadManager__sharedState ; +0x98, 0x10011f61c ADD X1, X19, #0x148 ; +0x9c, 0x10011f620 LDP X29, X30, [SP,#0x10+var_s0] ; +0xa0, 0x10011f624 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0xa4, 0x10011f628 B MusicDownloadManager__showTOS ; +0xa8, 0x10011f62c LDR X8, [X19,#0x150] ; +0xac, 0x10011f630 CBZ X8, loc_10011F700 ; +0xb0, 0x10011f634 LDR X0, [X19,#0x1C8] ; +0xb4, 0x10011f638 LDR X8, [X0] ; +0xb8, 0x10011f63c LDR X8, [X8,#0x158] ; +0xbc, 0x10011f640 MOV W1, #1 ; +0xc0, 0x10011f644 BLR X8 ; +0xc4, 0x10011f648 LDR X0, [X19,#0x180] ; +0xc8, 0x10011f64c LDR X8, [X0] ; +0xcc, 0x10011f650 LDR X8, [X8,#0x158] ; +0xd0, 0x10011f654 MOV W1, #0 ; +0xd4, 0x10011f658 BLR X8 ; +0xd8, 0x10011f65c LDR X0, [X19,#0x188] ; +0xdc, 0x10011f660 LDR X8, [X0] ; +0xe0, 0x10011f664 LDR X8, [X8,#0x158] ; +0xe4, 0x10011f668 MOV W1, #1 ; +0xe8, 0x10011f66c BLR X8 ; +0xec, 0x10011f670 LDR X0, [X19,#0x1B0] ; +0xf0, 0x10011f674 LDR X8, [X0] ; +0xf4, 0x10011f678 LDR X8, [X8,#0x158] ; +0xf8, 0x10011f67c MOV W1, #0 ; +0xfc, 0x10011f680 BLR X8 ; +0x100, 0x10011f684 LDR W8, [X19,#0x1F8] ; +0x104, 0x10011f688 MOV W9, #0x989680 ; +0x108, 0x10011f68c CMP W8, W9 ; +0x110, 0x10011f694 B.LT loc_10011F6B0 ; +0x114, 0x10011f698 BL MusicDownloadManager__sharedState ; +0x118, 0x10011f69c LDRSB X8, [X0,#0x187] ; +0x11c, 0x10011f6a0 TBZ X8, #0x3F, loc_10011F6AC ; '?' ; +0x120, 0x10011f6a4 LDR X8, [X0,#0x178] ; +0x124, 0x10011f6a8 CBZ X8, loc_10011F6E8 ; +0x128, 0x10011f6ac LDR X8, [X19,#0x150] ; +0x12c, 0x10011f6b0 LDRB W8, [X8,#0x1B1] ; +0x130, 0x10011f6b4 CMP W8, #1 ; +0x134, 0x10011f6b8 B.NE loc_10011F70C ; +0x138, 0x10011f6bc MOV X0, X19 ; +0x13c, 0x10011f6c0 LDP X29, X30, [SP,#0x10+var_s0] ; +0x140, 0x10011f6c4 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x144, 0x10011f6c8 B CustomSongWidget__startDownload ; +0x148, 0x10011f6cc LDR X8, [X0,#0x178] ; +0x14c, 0x10011f6d0 CBZ X8, loc_10011F6E8 ; +0x150, 0x10011f6d4 MOV X0, X19 ; +0x154, 0x10011f6d8 LDP X29, X30, [SP,#0x10+var_s0] ; +0x158, 0x10011f6dc LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x15c, 0x10011f6e0 B sub_100121A4C ; +0x160, 0x10011f6e4 MOV W8, #1 ; +0x164, 0x10011f6e8 STRB W8, [X19,#0x210] ; +0x168, 0x10011f6ec BL MusicDownloadManager__sharedState ; +0x16c, 0x10011f6f0 LDP X29, X30, [SP,#0x10+var_s0] ; +0x170, 0x10011f6f4 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x174, 0x10011f6f8 B MusicDownloadManager__getCustomContentURL ; +0x178, 0x10011f6fc LDP X29, X30, [SP,#0x10+var_s0] ; +0x17c, 0x10011f700 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x180, 0x10011f704 RET ; +0x184, 0x10011f708 MOV W8, #1 ; +0x188, 0x10011f70c STRB W8, [X19,#0x1F3] ; +0x18c, 0x10011f710 BL MusicDownloadManager__sharedState ; +0x190, 0x10011f714 LDR W1, [X19,#0x1F8] ; +0x194, 0x10011f718 MOV W2, #1 ; +0x198, 0x10011f71c LDP X29, X30, [SP,#0x10+var_s0] ; +0x19c, 0x10011f720 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x1a0, 0x10011f724 B MusicDownloadManager__getSongInfo ; +0x1a4, 0x10011f728