// // MusicDownloadManager::getCustomSFXRoot from 0x56e268 to 0x56e30a (162 bytes) // // 12 xrefs: // > MusicDownloadManager::createCustomSFXPlacement @ 0x56e33e // > MusicDownloadManager::createCustomSFXFolder @ 0x56e4ae // > MusicDownloadManager::getCustomSFXLocationText @ 0x56f514 // > sub_575E04 @ 0x575e2a // > MusicDownloadManager::importCustomSFXSetup @ 0x5763fc // > MusicDownloadManager::decodeCustomSFX @ 0x576920 // > SFXBrowser::executeBatchDelete @ 0x6c49a6 // > SFXBrowser::setupSFXBrowser @ 0x6c66a0 // > SFXBrowser::setupSFXBrowser @ 0x6c687e // > SFXBrowser::setupSFXBrowser @ 0x6c68fe // > SFXBrowser::switchToView @ 0x6c8414 // > SFXFolderPickerPopup::rebuildList @ 0x72fad2 // // 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:52:35 +0000 // int __fastcall MusicDownloadManager::getCustomSFXRoot(cocos2d::CCDictionary **this) { cocos2d::CCObject *v2; // r0 SFXInfoObject *v3; // r4 int v4; // r4 int v6[3]; // [sp+0h] [bp-14h] BYREF if ( !*(this + 133) ) { v2 = (cocos2d::CCObject *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)this); *(this + 133) = v2; cocos2d::CCObject::retain(v2); memset(v6, 0, sizeof(v6)); std::string::__init(v6, "Custom", 6u); v3 = SFXFolderObject::create(1, (int)v6, 0); std::string::~string((int)v6); *((_DWORD *)v3 + 18) = 1; cocos2d::CCDictionary::setObject(*(this + 133), v3, 1); if ( (int)*(this + 134) <= 2 ) { v4 = rand(); *(this + 134) = (cocos2d::CCDictionary *)((rand() | (v4 << 15)) % 7900000 + 100000); } } return cocos2d::CCDictionary::objectForKey(*(this + 133), 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source