// // CustomSongCell::onDelete from 0x100253e10 to 0x100253ebd (173 bytes) // // 1 xrefs: // > CustomSongCell::loadFromObject @ 0x100243eea // // 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 __fastcall CustomSongCell::onDelete(CustomSongCell *a1, cocos2d::CCObject *a2) { FMODAudioEngine *v2; // r14 char isMusicPlaying; // r14 FMODAudioEngine *v4; // rax MusicDownloadManager *v5; // rax std::string v6; // [rsp+0h] [rbp-30h] BYREF if ( a1->m_songInfoObject ) { v2 = FMODAudioEngine::sharedEngine(); MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSong(&v6); isMusicPlaying = FMODAudioEngine::isMusicPlaying(v2, &v6, 0); if ( (*(_BYTE *)&v6.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v6.__r_.__value_.__l.__data_); if ( isMusicPlaying ) { v4 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v4, 1); } v5 = MusicDownloadManager::sharedState(); MusicDownloadManager::deleteSong(v5, a1->m_songInfoObject->m_songID); } TableView::deleteTableViewCell(a1->m_tableView, a1); }