//
// MusicChangelogLine::create from 0x10065de50 to 0x10065df03 (179 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::parseMusicLibrary @ 0x10065c158
//
// This function is hookable on this platform (idp: pc, 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 12:34:55 +0000
//
char *__fastcall MusicChangelogLine::create(int a1, std::string *a2, int a3)
{
char *v4; // rbx
std::string __str; // [rsp+0h] [rbp-40h] BYREF
v4 = (char *)operator new(0x58u);
cocos2d::CCObject::CCObject((__int64)v4);
*(_QWORD *)v4 = off_100B83578;
*(_OWORD *)(v4 + 56) = 0;
*(_OWORD *)(v4 + 72) = 0;
if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 )
sub_10001AD30(&__str, a2->__r_.__value_.__l.__data_, a2->__r_.__value_.__l.__size_);
else
__str = *a2;
*((_DWORD *)v4 + 14) = a1;
std::string::operator=((std::string *)(v4 + 64), &__str);
*((_DWORD *)v4 + 15) = a3;
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__str.__r_.__value_.__l.__data_);
cocos2d::CCObject::autorelease((__int64)v4);
return v4;
}