//
// MusicDownloadManager::tryLoadLibraries from 0x5795d0 to 0x579600 (48 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::init @ 0x475b4a
//
// 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:47 +0000
//
cocos2d::CCDictionary *__fastcall MusicDownloadManager::tryLoadLibraries(cocos2d::CCDictionary *this)
{
cocos2d::CCArray **v1; // r4
v1 = (cocos2d::CCArray **)this;
if ( !*((_BYTE *)this + 381) )
{
*((_BYTE *)this + 381) = 1;
if ( !MusicDownloadManager::isSFXLibraryLoaded(this) )
MusicDownloadManager::parseSFXLibrary(v1);
this = MusicDownloadManager::isMusicLibraryLoaded((MusicDownloadManager *)v1);
if ( !this )
return (cocos2d::CCDictionary *)MusicDownloadManager::parseMusicLibrary((MusicDownloadManager *)v1);
}
return this;
}