; ; CustomSongWidget::deleteSong from 0x1000fcdb4 to 0x1000fced0 (284 bytes) ; ; 1 xrefs: ; > CustomSongWidget::FLAlert_Clicked @ 0x1000fe724 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; SUB SP, SP, #0x40 ; +0x0, 0x1000fcdb4 STP X20, X19, [SP,#0x30+var_10] ; +0x4, 0x1000fcdb8 STP X29, X30, [SP,#0x30+var_s0] ; +0x8, 0x1000fcdbc ADD X29, SP, #0x30 ; +0xc, 0x1000fcdc0 LDR X8, [X0,#0x150] ; +0x10, 0x1000fcdc4 CBZ X8, loc_1000FCEB0 ; +0x14, 0x1000fcdc8 MOV X19, X0 ; +0x18, 0x1000fcdcc BL FMODAudioEngine__sharedEngine ; +0x1c, 0x1000fcdd0 MOV X20, X0 ; +0x20, 0x1000fcdd4 BL MusicDownloadManager__sharedState ; +0x24, 0x1000fcdd8 LDR X8, [X19,#0x150] ; +0x28, 0x1000fcddc LDR W1, [X8,#0x13C] ; +0x2c, 0x1000fcde0 ADD X8, SP, #0x30+__p ; +0x30, 0x1000fcde4 BL MusicDownloadManager__pathForSong ; +0x34, 0x1000fcde8 ADD X1, SP, #0x30+__p ; +0x38, 0x1000fcdec MOV X0, X20 ; +0x3c, 0x1000fcdf0 MOV W2, #0 ; +0x40, 0x1000fcdf4 BL FMODAudioEngine__isMusicPlaying ; +0x44, 0x1000fcdf8 MOV X20, X0 ; +0x48, 0x1000fcdfc LDRSB W8, [SP,#0x30+var_11] ; +0x4c, 0x1000fce00 TBNZ W8, #0x1F, loc_1000FCEC0 ; +0x50, 0x1000fce04 CBZ W20, loc_1000FCE18 ; +0x54, 0x1000fce08 BL FMODAudioEngine__sharedEngine ; +0x58, 0x1000fce0c MOV W1, #1 ; +0x5c, 0x1000fce10 BL FMODAudioEngine__stopAllMusic ; +0x60, 0x1000fce14 BL MusicDownloadManager__sharedState ; +0x64, 0x1000fce18 LDR X8, [X19,#0x150] ; +0x68, 0x1000fce1c LDR W1, [X8,#0x13C] ; +0x6c, 0x1000fce20 BL MusicDownloadManager__deleteSong ; +0x70, 0x1000fce24 MOV X0, X19 ; +0x74, 0x1000fce28 BL CustomSongWidget__updateSongInfo ; +0x78, 0x1000fce2c LDR X0, [X19,#0x178] ; +0x7c, 0x1000fce30 STRB WZR, [SP,#0x30+var_2A] ; +0x80, 0x1000fce34 MOV W8, #0x64FF ; +0x84, 0x1000fce38 STRH W8, [SP,#0x30+var_2C] ; +0x88, 0x1000fce3c LDR X8, [X0] ; +0x8c, 0x1000fce40 LDR X8, [X8,#0x420] ; +0x90, 0x1000fce44 ADD X1, SP, #0x30+var_2C ; +0x94, 0x1000fce48 BLR X8 ; +0x98, 0x1000fce4c LDR X0, [X19,#0x178] ; +0x9c, 0x1000fce50 LDR X8, [X0] ; +0xa0, 0x1000fce54 LDR X8, [X8,#0x390] ; +0xa4, 0x1000fce58 ADRL X1, aSongDeleted; "Song Deleted" ; +0xa8, 0x1000fce5c BLR X8 ; +0xb0, 0x1000fce64 LDRB W8, [X19,#0x1ED] ; +0xb4, 0x1000fce68 LDR X0, [X19,#0x178] ; +0xb8, 0x1000fce6c CMP W8, #1 ; +0xbc, 0x1000fce70 B.NE loc_1000FCE8C ; +0xc0, 0x1000fce74 MOV W8, #0x430C0000 ; +0xc4, 0x1000fce78 FMOV S0, W8 ; +0xc8, 0x1000fce7c ADRP X8, #dword_1006353A4@PAGE ; +0xcc, 0x1000fce80 LDR S1, [X8,#dword_1006353A4@PAGEOFF] ; +0xd0, 0x1000fce84 B loc_1000FCE9C ; +0xd4, 0x1000fce88 MOV W8, #0x43660000 ; +0xd8, 0x1000fce8c FMOV S0, W8 ; +0xdc, 0x1000fce90 ADRP X8, #dword_10063537C@PAGE ; +0xe0, 0x1000fce94 LDR S1, [X8,#dword_10063537C@PAGEOFF] ; +0xe4, 0x1000fce98 FMOV S2, WZR ; +0xe8, 0x1000fce9c BL cocos2d__CCLabelBMFont__limitLabelWidth ; +0xec, 0x1000fcea0 MOV X0, X19 ; +0xf0, 0x1000fcea4 MOV W1, #1 ; +0xf4, 0x1000fcea8 BL CustomSongWidget__showError ; +0xf8, 0x1000fceac LDP X29, X30, [SP,#0x30+var_s0] ; +0xfc, 0x1000fceb0 LDP X20, X19, [SP,#0x30+var_10] ; +0x100, 0x1000fceb4 ADD SP, SP, #0x40 ; '@' ; +0x104, 0x1000fceb8 RET ; +0x108, 0x1000fcebc LDR X0, [SP,#0x30+__p]; __p ; +0x10c, 0x1000fcec0 BL __ZdlPv; operator delete(void *) ; +0x110, 0x1000fcec4 CBNZ W20, loc_1000FCE0C ; +0x114, 0x1000fcec8 B loc_1000FCE18 ; +0x118, 0x1000fcecc