; ; CustomSongWidget::deleteSong from 0x100121690 to 0x1001217ac (284 bytes) ; ; 1 xrefs: ; > CustomSongWidget::FLAlert_Clicked @ 0x10012312c ; ; 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:16 +0000 ; SUB SP, SP, #0x40 ; +0x0, 0x100121690 STP X20, X19, [SP,#0x30+var_10] ; +0x4, 0x100121694 STP X29, X30, [SP,#0x30+var_s0] ; +0x8, 0x100121698 ADD X29, SP, #0x30 ; +0xc, 0x10012169c LDR X8, [X0,#0x150] ; +0x10, 0x1001216a0 CBZ X8, loc_10012178C ; +0x14, 0x1001216a4 MOV X19, X0 ; +0x18, 0x1001216a8 BL FMODAudioEngine__sharedEngine ; +0x1c, 0x1001216ac MOV X20, X0 ; +0x20, 0x1001216b0 BL MusicDownloadManager__sharedState ; +0x24, 0x1001216b4 LDR X8, [X19,#0x150] ; +0x28, 0x1001216b8 LDR W1, [X8,#0x13C] ; +0x2c, 0x1001216bc ADD X8, SP, #0x30+__p ; +0x30, 0x1001216c0 BL MusicDownloadManager__pathForSong ; +0x34, 0x1001216c4 ADD X1, SP, #0x30+__p ; +0x38, 0x1001216c8 MOV X0, X20 ; +0x3c, 0x1001216cc MOV W2, #0 ; +0x40, 0x1001216d0 BL FMODAudioEngine__isMusicPlaying ; +0x44, 0x1001216d4 MOV X20, X0 ; +0x48, 0x1001216d8 LDRSB W8, [SP,#0x30+var_11] ; +0x4c, 0x1001216dc TBNZ W8, #0x1F, loc_10012179C ; +0x50, 0x1001216e0 CBZ W20, loc_1001216F4 ; +0x54, 0x1001216e4 BL FMODAudioEngine__sharedEngine ; +0x58, 0x1001216e8 MOV W1, #1 ; +0x5c, 0x1001216ec BL FMODAudioEngine__stopAllMusic ; +0x60, 0x1001216f0 BL MusicDownloadManager__sharedState ; +0x64, 0x1001216f4 LDR X8, [X19,#0x150] ; +0x68, 0x1001216f8 LDR W1, [X8,#0x13C] ; +0x6c, 0x1001216fc BL MusicDownloadManager__deleteSong ; +0x70, 0x100121700 MOV X0, X19 ; +0x74, 0x100121704 BL CustomSongWidget__updateSongInfo ; +0x78, 0x100121708 LDR X0, [X19,#0x178] ; +0x7c, 0x10012170c STRB WZR, [SP,#0x30+var_2A] ; +0x80, 0x100121710 MOV W8, #0x64FF ; +0x84, 0x100121714 STRH W8, [SP,#0x30+var_2C] ; +0x88, 0x100121718 LDR X8, [X0] ; +0x8c, 0x10012171c LDR X8, [X8,#0x430] ; +0x90, 0x100121720 ADD X1, SP, #0x30+var_2C ; +0x94, 0x100121724 BLR X8 ; +0x98, 0x100121728 LDR X0, [X19,#0x178] ; +0x9c, 0x10012172c LDR X8, [X0] ; +0xa0, 0x100121730 LDR X8, [X8,#0x3A0] ; +0xa4, 0x100121734 ADRL X1, aSongDeleted; "Song Deleted" ; +0xa8, 0x100121738 BLR X8 ; +0xb0, 0x100121740 LDRB W8, [X19,#0x1F5] ; +0xb4, 0x100121744 LDR X0, [X19,#0x178] ; +0xb8, 0x100121748 CMP W8, #1 ; +0xbc, 0x10012174c B.NE loc_100121768 ; +0xc0, 0x100121750 MOV W8, #0x430C0000 ; +0xc4, 0x100121754 FMOV S0, W8 ; +0xc8, 0x100121758 ADRP X8, #dword_10075BD44@PAGE ; +0xcc, 0x10012175c LDR S1, [X8,#dword_10075BD44@PAGEOFF] ; +0xd0, 0x100121760 B loc_100121778 ; +0xd4, 0x100121764 MOV W8, #0x43660000 ; +0xd8, 0x100121768 FMOV S0, W8 ; +0xdc, 0x10012176c ADRP X8, #dword_10075BD1C@PAGE ; +0xe0, 0x100121770 LDR S1, [X8,#dword_10075BD1C@PAGEOFF] ; +0xe4, 0x100121774 FMOV S2, WZR ; +0xe8, 0x100121778 BL cocos2d__CCLabelBMFont__limitLabelWidth ; +0xec, 0x10012177c MOV X0, X19 ; +0xf0, 0x100121780 MOV W1, #1 ; +0xf4, 0x100121784 BL CustomSongWidget__showError ; +0xf8, 0x100121788 LDP X29, X30, [SP,#0x30+var_s0] ; +0xfc, 0x10012178c LDP X20, X19, [SP,#0x30+var_10] ; +0x100, 0x100121790 ADD SP, SP, #0x40 ; '@' ; +0x104, 0x100121794 RET ; +0x108, 0x100121798 LDR X0, [SP,#0x30+__p]; __p ; +0x10c, 0x10012179c BL __ZdlPv; operator delete(void *) ; +0x110, 0x1001217a0 CBNZ W20, loc_1001216E8 ; +0x114, 0x1001217a4 B loc_1001216F4 ; +0x118, 0x1001217a8