// // CustomSongCell::onDelete from 0x60b3e0 to 0x60b520 (320 bytes) // // 3 xrefs: // > @ 0x62bb0 // > CustomSongCell::loadFromObject @ 0x61568c // > @ 0x122b310 // // 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; // x22 MusicDownloadManager *v4; // x0 _BOOL4 isMusicPlaying; // w21 void *v6; // x0 MusicDownloadManager *v7; // x0 FMODAudioEngine *v8; // x0 unsigned int *v9; // x2 int v10; // w1 __int64 v11; // [xsp+40h] [xbp+40h] BYREF if ( a1->m_songInfoObject ) { v3 = FMODAudioEngine::sharedEngine(); v4 = MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSong(&v11, v4, a1->m_songInfoObject->m_songID); isMusicPlaying = FMODAudioEngine::isMusicPlaying(v3, (int)&v11); v6 = (void *)(v11 - 24); if ( (__int64 *)(v11 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v11 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *(_DWORD *)(v11 - 8); *(_DWORD *)(v11 - 8) = v10 - 1; } if ( v10 <= 0 ) operator delete(v6); } if ( isMusicPlaying ) { v8 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v8, 1); } v7 = MusicDownloadManager::sharedState(); MusicDownloadManager::deleteSong(v7, a1->m_songInfoObject->m_songID); } TableView::deleteTableViewCell(a1->m_tableView, a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source