// // CustomSongCell::onDelete from 0x73592c to 0x735a14 (232 bytes) // // 3 xrefs: // > @ 0x86998 // > CustomSongCell::loadFromObject @ 0x738278 // > @ 0x1543880 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:52:38 +0000 // __int64 __fastcall CustomSongCell::onDelete(CustomSongCell *this, cocos2d::CCObject *a2) { FMODAudioEngine *v3; // x0 MusicDownloadManager *v4; // x22 MusicDownloadManager *v5; // x0 __int64 isMusicPlaying; // x0 int v7; // w21 MusicDownloadManager *v8; // x0 FMODAudioEngine *v10; // x0 __int64 v11[3]; // [xsp+30h] [xbp+30h] BYREF v3 = *((FMODAudioEngine **)this + 70); if ( v3 ) { v4 = (MusicDownloadManager *)FMODAudioEngine::sharedEngine(v3); v5 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v4); MusicDownloadManager::pathForSong(v11, v5, *(_DWORD *)(*((_QWORD *)this + 70) + 316LL)); isMusicPlaying = FMODAudioEngine::isMusicPlaying(v4, (__int64)v11, 0); v7 = (unsigned __int8)isMusicPlaying; if ( (v11[0] & 1) != 0 ) { operator delete((void *)v11[2]); if ( !v7 ) goto LABEL_4; } else if ( !(_BYTE)isMusicPlaying ) { LABEL_4: v8 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)isMusicPlaying); MusicDownloadManager::deleteSong(v8, *(_DWORD *)(*((_QWORD *)this + 70) + 316LL)); goto LABEL_5; } v10 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)isMusicPlaying); isMusicPlaying = FMODAudioEngine::stopAllMusic(v10, 1); goto LABEL_4; } LABEL_5: TableView::deleteTableViewCell(*((TableView **)this + 52), this); return _stack_chk_guard; }