// // CustomSongCell::onDelete from 0x427118 to 0x42719e (134 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:05 +0000 // int __fastcall CustomSongCell::onDelete(TableView **this, cocos2d::CCObject *a2) { MusicDownloadManager *v3; // r7 int v4; // r0 int v5; // r3 _BOOL4 isMusicPlaying; // r7 char **v7; // r0 FMODAudioEngine *v8; // r0 MusicDownloadManager *v9; // r0 unsigned __int8 v11[12]; // [sp+0h] [bp-14h] BYREF if ( *(this + 106) ) { v3 = (MusicDownloadManager *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)this); v4 = MusicDownloadManager::sharedState(v3); MusicDownloadManager::pathForSong((MusicDownloadManager *)v11, v4); isMusicPlaying = FMODAudioEngine::isMusicPlaying(v3, v11, 0, v5); v7 = (char **)std::string::~string((int)v11); if ( isMusicPlaying ) { v8 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)v7); v7 = FMODAudioEngine::stopAllMusic(v8, 1); } v9 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)v7); MusicDownloadManager::deleteSong(v9, *((_DWORD *)*(this + 106) + 66)); } return TableView::deleteTableViewCell(*(this + 80), (TableViewCell *)this); }