// // CustomSongCell::onDelete from 0x1400b48e0 to 0x1400b4a59 (377 bytes) // // 2 xrefs: // > CustomSongCell::loadFromObject @ 0x1400b477d // > @ 0x1406c7b24 // // 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 // // Hidden C++ exception states: #wind=4 void CustomSongCell::onDelete(CustomSongCell *a1, cocos2d::CCObject *a2) { SongInfoObject *m_songInfoObject; // rbx MusicDownloadManager *v4; // rax _QWORD *v5; // rbx FMODAudioEngine *v6; // rcx __int64 v7; // rbx unsigned int m_songID; // ebx MusicDownloadManager *v9; // rax const char *v10; // rcx FMODAudioEngine *v11; // [rsp+20h] [rbp-48h] FMODAudioEngine *v12; // [rsp+20h] [rbp-48h] char *FileName[4]; // [rsp+30h] [rbp-38h] BYREF m_songInfoObject = a1->m_songInfoObject; if ( m_songInfoObject ) { v4 = MusicDownloadManager::sharedState(); v5 = (_QWORD *)MusicDownloadManager::pathForSong(v4, FileName, (unsigned int)m_songInfoObject->m_songID); v6 = (FMODAudioEngine *)qword_1406C2E88; if ( !qword_1406C2E88 ) { v11 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v6 = (FMODAudioEngine *)qword_1406C2E88; } if ( FMODAudioEngine::isMusicPlaying(v6, v5) ) { v7 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v12 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v7 = qword_1406C2E88; } if ( *(_QWORD *)(v7 + 552) ) FMOD::ChannelControl::stop(*(FMOD::ChannelControl **)(v7 + 552)); sub_14005E0D0((_QWORD *)(v7 + 1064)); sub_14005E0D0((_QWORD *)(v7 + 1128)); sub_14005E0D0((_QWORD *)(v7 + 1192)); } m_songID = a1->m_songInfoObject->m_songID; v9 = MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSong(v9, FileName, m_songID); v10 = (const char *)FileName; if ( FileName[3] > (char *)0xF ) v10 = FileName[0]; remove(v10); sub_14003A830((__int64)FileName); } TableView::deleteTableViewCell(a1->m_tableView, a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source