//
// sub_1001DDDC4 from 0x1001dddc4 to 0x1001dde7c (184 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::parseMusicLibrary @ 0x1001dcaf8
//
// 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:29 +0000
//
char *__fastcall sub_1001DDDC4(int a1, __int64 a2, int a3)
{
char *v6; // x19
std::string __p; // [xsp+0h] [xbp-40h] BYREF
v6 = (char *)operator new(0x58u);
cocos2d::CCObject::CCObject((__int64)v6);
*(_QWORD *)v6 = off_1008F0860;
*(_OWORD *)(v6 + 56) = 0u;
*(_OWORD *)(v6 + 72) = 0u;
if ( *(char *)(a2 + 23) < 0 )
sub_1000097D0(&__p, *(void **)a2, *(_QWORD *)(a2 + 8));
else
__p = *(std::string *)a2;
*((_DWORD *)v6 + 14) = a1;
std::string::operator=((std::string *)(v6 + 64), &__p);
*((_DWORD *)v6 + 15) = a3;
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
cocos2d::CCObject::autorelease((__int64)v6);
return v6;
}