// // CustomSongCell::onDelete from 0x1001102a8 to 0x100110348 (160 bytes) // // 1 xrefs: // > CustomSongCell::loadFromObject @ 0x1001022e0 // // 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 *v3; // x20 MusicDownloadManager *v4; // x0 int isMusicPlaying; // w0 int v6; // w20 FMODAudioEngine *v7; // x0 MusicDownloadManager *v8; // x0 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v10; // [xsp+1Fh] [xbp-11h] if ( a1->m_songInfoObject ) { v3 = FMODAudioEngine::sharedEngine(); v4 = MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSong(__p, v4, (unsigned int)a1->m_songInfoObject->m_songID); isMusicPlaying = FMODAudioEngine::isMusicPlaying(v3, __p, 0); v6 = isMusicPlaying; if ( v10 < 0 ) { operator delete(__p[0]); if ( !v6 ) goto LABEL_5; } else if ( !isMusicPlaying ) { LABEL_5: v8 = MusicDownloadManager::sharedState(); MusicDownloadManager::deleteSong(v8, a1->m_songInfoObject->m_songID); goto LABEL_6; } v7 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v7, 1); goto LABEL_5; } LABEL_6: TableView::deleteTableViewCell(a1->m_tableView, a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source