//
// MusicArtistObject::create from 0x140498e50 to 0x140498f41 (241 bytes)
//
// 3 xrefs:
// > MusicDownloadManager::createSongsInfo @ 0x140483263
// > MusicDownloadManager::parseMusicLibrary @ 0x14048d3b2
// > ??> @ 0x1409290b4
//
// 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 11:32:53 +0000
//
// Hidden C++ exception states: #wind=3
void **__fastcall MusicArtistObject::create(int a1, __int64 a2)
{
void **v4; // rsi
__int64 v5; // rax
__int64 v6; // rdi
void *v7; // rdx
_BYTE v9[32]; // [rsp+28h] [rbp-50h] BYREF
__int64 v10; // [rsp+48h] [rbp-30h]
v10 = a2;
v4 = (void **)operator new(0x78u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4);
*v4 = &MusicArtistObject::`vftable';
*((_DWORD *)v4 + 14) = 0;
*((_OWORD *)v4 + 4) = 0;
v4[10] = nullptr;
v4[11] = (void *)15;
*((_BYTE *)v4 + 64) = 0;
v4[12] = nullptr;
v4[13] = nullptr;
v4[14] = nullptr;
v5 = sub_14003F4F0((__int64)v9, a2);
v6 = v5;
*((_DWORD *)v4 + 14) = a1;
if ( v4 + 8 != (void **)v5 )
{
v7 = (void *)v5;
if ( *(_QWORD *)(v5 + 24) > 0xFu )
v7 = *(void **)v5;
sub_1400405A0(v4 + 8, v7, *(_QWORD *)(v5 + 16));
}
sub_14003D310(v6);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
sub_14003D310(a2);
return v4;
}