; ; CustomSongWidget::deleteSong from 0x7474c8 to 0x74768c (452 bytes) ; ; 2 xrefs: ; > CustomSongWidget::FLAlert_Clicked @ 0x748320 ; > @ 0x536a0 ; ; 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 ; STP X29, X30, [SP,#var_50]! ; +0x0, 0x7474c8 MOV X29, SP ; +0x4, 0x7474cc STP X19, X20, [SP,#0x50+var_40] ; +0x8, 0x7474d0 ADRP X20, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x7474d4 MOV X19, X0 ; +0x10, 0x7474d8 LDR X0, [X0,#0x150]; this ; +0x14, 0x7474dc STP X21, X22, [SP,#0x50+var_30] ; +0x18, 0x7474e0 LDR X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x7474e4 LDR X1, [X1] ; +0x20, 0x7474e8 STR X1, [X29,#0x50+var_8] ; +0x24, 0x7474ec CBZ X0, loc_7475CC ; +0x28, 0x7474f0 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x2c, 0x7474f4 MOV X22, X0 ; +0x30, 0x7474f8 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x34, 0x7474fc ADD X21, X29, #0x50+var_10 ; +0x38, 0x747500 LDR X1, [X19,#0x150] ; +0x3c, 0x747504 MOV X8, X21 ; +0x40, 0x747508 LDR W1, [X1,#0x13C]; int ; +0x44, 0x74750c BL _ZN20MusicDownloadManager11pathForSongEi; MusicDownloadManager::pathForSong(int) ; +0x48, 0x747510 MOV X0, X22; int ; +0x4c, 0x747514 MOV X1, X21; int ; +0x50, 0x747518 MOV W2, #0; int ; +0x54, 0x74751c BL _ZN15FMODAudioEngine14isMusicPlayingESsi; FMODAudioEngine::isMusicPlaying(std::string,int) ; +0x58, 0x747520 ADRP X1, #off_122EFE8@PAGE ; +0x5c, 0x747524 LDR X2, [X29,#0x50+var_10] ; +0x60, 0x747528 UXTB W22, W0 ; +0x64, 0x74752c SUB X0, X2, #0x18; this ; +0x68, 0x747530 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x6c, 0x747534 CMP X0, X1 ; +0x70, 0x747538 B.NE loc_747618 ; +0x74, 0x74753c CBNZ W22, loc_747608 ; +0x78, 0x747540 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x7c, 0x747544 LDR X1, [X19,#0x150] ; +0x80, 0x747548 LDR W1, [X1,#0x13C]; int ; +0x84, 0x74754c BL _ZN20MusicDownloadManager10deleteSongEi; MusicDownloadManager::deleteSong(int) ; +0x88, 0x747550 MOV X0, X19; this ; +0x8c, 0x747554 BL _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x90, 0x747558 LDR X2, [X19,#0x178] ; +0x94, 0x74755c MOV W3, #0xFFFFFFFF ; +0x98, 0x747560 MOV X1, X21 ; +0x9c, 0x747564 MOV X0, X2 ; +0xa0, 0x747568 LDR X2, [X2] ; +0xa4, 0x74756c LDR X2, [X2,#0x420] ; +0xa8, 0x747570 STRB W3, [X29,#0x50+var_10] ; +0xac, 0x747574 MOV W3, #0x64 ; 'd' ; +0xb0, 0x747578 STRB WZR, [X29,#0x50+var_10+2] ; +0xb4, 0x74757c STRB W3, [X29,#0x50+var_10+1] ; +0xb8, 0x747580 BLR X2 ; +0xbc, 0x747584 LDR X2, [X19,#0x178] ; +0xc0, 0x747588 ADRL X1, aSongDeleted; "Song Deleted" ; +0xc4, 0x74758c MOV X0, X2 ; +0xcc, 0x747594 LDR X2, [X2] ; +0xd0, 0x747598 LDR X2, [X2,#0x390] ; +0xd4, 0x74759c BLR X2 ; +0xd8, 0x7475a0 LDRB W0, [X19,#0x1ED] ; +0xdc, 0x7475a4 CBNZ W0, loc_7475F0 ; +0xe0, 0x7475a8 LDR S0, flt_747694; float ; +0xe4, 0x7475ac LDR X0, [X19,#0x178]; this ; +0xe8, 0x7475b0 LDR S1, flt_747698; float ; +0xec, 0x7475b4 FMOV S2, WZR; float ; +0xf0, 0x7475b8 BL _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0xf4, 0x7475bc MOV X0, X19; this ; +0xf8, 0x7475c0 MOV W1, #1; bool ; +0xfc, 0x7475c4 BL _ZN16CustomSongWidget9showErrorEb; CustomSongWidget::showError(bool) ; +0x100, 0x7475c8 LDR X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x104, 0x7475cc LDR X1, [X29,#0x50+var_8] ; +0x108, 0x7475d0 LDR X0, [X20] ; +0x10c, 0x7475d4 CMP X1, X0 ; +0x110, 0x7475d8 B.NE loc_74765C ; +0x114, 0x7475dc LDP X19, X20, [SP,#0x50+var_40] ; +0x118, 0x7475e0 LDP X21, X22, [SP,#0x50+var_30] ; +0x11c, 0x7475e4 LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0x120, 0x7475e8 RET ; +0x124, 0x7475ec LDR S0, flt_74768C; float ; +0x128, 0x7475f0 LDR X0, [X19,#0x178]; this ; +0x12c, 0x7475f4 LDR S1, flt_747690; float ; +0x130, 0x7475f8 FMOV S2, WZR; float ; +0x134, 0x7475fc BL _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x138, 0x747600 B loc_7475C0 ; +0x13c, 0x747604 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x140, 0x747608 MOV W1, #1; bool ; +0x144, 0x74760c BL _ZN15FMODAudioEngine12stopAllMusicEb; FMODAudioEngine::stopAllMusic(bool) ; +0x148, 0x747610 B loc_747544 ; +0x14c, 0x747614 ADRP X1, #pthread_create_ptr_0@PAGE ; +0x150, 0x747618 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x154, 0x74761c CBZ X1, loc_74764C ; +0x158, 0x747620 SUB X2, X2, #8 ; +0x15c, 0x747624 LDAXR W1, [X2] ; +0x160, 0x747628 SUB W3, W1, #1 ; +0x164, 0x74762c STLXR W4, W3, [X2] ; +0x168, 0x747630 CBNZ W4, loc_747628 ; +0x16c, 0x747634 CMP W1, WZR ; +0x170, 0x747638 B.GT loc_747540 ; +0x174, 0x74763c ADD X1, X29, #0x50+var_18 ; +0x178, 0x747640 BL j__ZdlPv; operator delete(void *) ; +0x17c, 0x747644 B loc_747540 ; +0x180, 0x747648 LDUR W1, [X2,#-8] ; +0x184, 0x74764c SUB W3, W1, #1 ; +0x188, 0x747650 STUR W3, [X2,#-8] ; +0x18c, 0x747654 B loc_747638 ; +0x190, 0x747658 BL .__stack_chk_fail ; +0x194, 0x74765c ADRP X1, #off_122EFE8@PAGE ; +0x198, 0x747660 MOV X19, X0 ; +0x19c, 0x747664 LDR X0, [X29,#0x50+var_10] ; +0x1a0, 0x747668 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x1a4, 0x74766c SUB X0, X0, #0x18 ; +0x1a8, 0x747670 CMP X0, X1 ; +0x1ac, 0x747674 B.EQ loc_747684 ; +0x1b0, 0x747678 ADD X1, X29, #0x50+var_18 ; +0x1b4, 0x74767c BL sub_4DBA38 ; +0x1b8, 0x747680 MOV X0, X19 ; +0x1bc, 0x747684 BL _Unwind_Resume ; +0x1c0, 0x747688