// // SFXBrowser::executeBatchDelete from 0x6c492a to 0x6c49ca (160 bytes) // // 2 xrefs: // > SFXBrowser::FLAlert_Clicked @ 0x6c49f6 // > SFXBrowser::onBatchDelete @ 0x6c5c70 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:56:53 +0000 // int __fastcall SFXBrowser::executeBatchDelete(SFXBrowser *this) { SFXBrowser *v1; // r6 SFXBrowser *v2; // r5 SFXBrowser *v3; // r4 int *v4; // r0 MusicDownloadManager *v5; // r0 MusicDownloadManager *v6; // r0 SFXSearchResult *v7; // r0 MusicDownloadManager *ActiveFolder; // r0 int *v9; // r5 MusicDownloadManager *v10; // r0 MusicDownloadManager *CustomSFXObject; // r0 MusicDownloadManager *v12; // r0 cocos2d::CCObject *CustomSFXFolderForID; // r0 int v14; // r5 cocos2d::CCDictionary **v15; // r0 v1 = (SFXBrowser *)((char *)this + 692); v2 = *((SFXBrowser **)this + 172); v3 = this; while ( v2 != v1 ) { v4 = (int *)MusicDownloadManager::sharedState(this); MusicDownloadManager::deleteCustomSFXObject(v4, *((_DWORD *)v2 + 4)); this = (SFXBrowser *)std::__tree_next *>(v2); v2 = this; } std::__tree::clear((int)v3 + 688); if ( *((int *)v3 + 175) > 0 ) { v6 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v5); if ( !MusicDownloadManager::getCustomSFXObject(v6, *((_DWORD *)v3 + 175)) ) *((_DWORD *)v3 + 175) = 0; } v7 = *((SFXSearchResult **)v3 + 136); if ( v7 ) { ActiveFolder = (MusicDownloadManager *)SFXSearchResult::getActiveFolder(v7); v9 = (int *)ActiveFolder; if ( ActiveFolder ) { if ( *(_DWORD *)(*((_DWORD *)v3 + 136) + 104) == 4 ) { v10 = (MusicDownloadManager *)MusicDownloadManager::sharedState(ActiveFolder); CustomSFXObject = (MusicDownloadManager *)MusicDownloadManager::getCustomSFXObject(v10, v9[18]); if ( v9 != (int *)CustomSFXObject ) { v12 = (MusicDownloadManager *)MusicDownloadManager::sharedState(CustomSFXObject); CustomSFXFolderForID = (cocos2d::CCObject *)MusicDownloadManager::getCustomSFXFolderForID(v12, v9[14]); v14 = *((_DWORD *)v3 + 136); if ( !CustomSFXFolderForID ) { v15 = (cocos2d::CCDictionary **)MusicDownloadManager::sharedState(nullptr); CustomSFXFolderForID = (cocos2d::CCObject *)MusicDownloadManager::getCustomSFXRoot(v15); } SFXSearchResult::setActiveFolder(v14, CustomSFXFolderForID); *(_DWORD *)(*((_DWORD *)v3 + 136) + 72) = 0; } } } } return FLAlertLayer::requestRebuild(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source