//
// MusicDownloadManager::firstSetup from 0x1001d9ba8 to 0x1001d9be0 (56 bytes)
//
// 1 xrefs:
// > GameManager::firstLoad @ 0x1003ba104
//
// 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 11:00:27 +0000
//
__int64 __fastcall MusicDownloadManager::firstSetup(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
v1 = result;
if ( !*(_QWORD *)(result + 344) )
{
v2 = cocos2d::CCDictionary::create(result);
result = sub_1001D9BE0(v1, v2);
}
*(_DWORD *)(v1 + 360) = 0;
return result;
}