//
// MusicDownloadManager::firstSetup from 0x56be22 to 0x56be56 (52 bytes)
//
// 1 xrefs:
// > GameManager::firstLoad @ 0x4180a6
//
// 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:33 +0000
//
cocos2d::CCDictionary *__fastcall MusicDownloadManager::firstSetup(cocos2d::CCDictionary *this)
{
cocos2d::CCDictionary *v1; // r4
cocos2d::CCDictionary *v2; // r5
v1 = this;
if ( !*((_DWORD *)this + 69) )
{
this = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create(this);
v2 = this;
if ( *((cocos2d::CCDictionary **)v1 + 69) != this )
{
if ( this )
cocos2d::CCObject::retain(this);
this = *((cocos2d::CCDictionary **)v1 + 69);
if ( this )
this = (cocos2d::CCDictionary *)cocos2d::CCObject::release(this);
*((_DWORD *)v1 + 69) = v2;
}
}
*((_DWORD *)v1 + 71) = 0;
return this;
}