// // CustomSongCell::onDelete from 0x32f46c to 0x32f4f0 (132 bytes) // // 0 xrefs: // // 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 // void CustomSongCell::onDelete(CustomSongCell *a1, cocos2d::CCObject *a2) { FMODAudioEngine *v3; // r7 MusicDownloadManager *v4; // r0 _BOOL4 isMusicPlaying; // r7 FMODAudioEngine *v6; // r0 MusicDownloadManager *v7; // r0 _DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF v8[0] = a1; v8[1] = a2; if ( a1->m_songInfoObject ) { v3 = FMODAudioEngine::sharedEngine(); v4 = MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSong((MusicDownloadManager *)v8, (int)v4); isMusicPlaying = FMODAudioEngine::isMusicPlaying(v3, (int)v8); sub_774008(v8); if ( isMusicPlaying ) { v6 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v6, (bool)&dword_0 + 1); } v7 = MusicDownloadManager::sharedState(); MusicDownloadManager::deleteSong(v7, a1->m_songInfoObject->m_songID); } TableView::deleteTableViewCell(a1->m_tableView, a1); }