//
// SFXInfoObject::create from 0x10015aa2c to 0x10015ab10 (228 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::parseSFXLibrary @ 0x10015a690
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char *__fastcall SFXInfoObject::create(int a1, __int64 a2, int a3, int a4, int a5)
{
char *v10; // x19
std::string __p; // [xsp+0h] [xbp-60h] BYREF
v10 = (char *)operator new(0x68u);
cocos2d::CCObject::CCObject((__int64)v10);
*((_QWORD *)v10 + 7) = 0;
*((_QWORD *)v10 + 10) = 0;
*(_QWORD *)v10 = off_10079AFB8;
*((_QWORD *)v10 + 11) = 0;
*((_QWORD *)v10 + 12) = 0;
*((_QWORD *)v10 + 8) = 0;
*((_WORD *)v10 + 36) = 0;
if ( *(char *)(a2 + 23) < 0 )
sub_1000097D0(&__p, *(void **)a2, *(_QWORD *)(a2 + 8));
else
__p = *(std::string *)a2;
*((_DWORD *)v10 + 14) = a1;
std::string::operator=((std::string *)(v10 + 80), &__p);
*((_DWORD *)v10 + 15) = a3;
*((_DWORD *)v10 + 16) = a4;
*((_DWORD *)v10 + 17) = a5;
v10[72] = 0;
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
return v10;
}