//
// MusicArtistObject::create from 0x56e648 to 0x56e6d6 (142 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::createArtistsInfo @ 0x56e784
// > MusicDownloadManager::parseMusicLibrary @ 0x5789d8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:35 +0000
//
cocos2d::CCObject *__fastcall MusicArtistObject::create(int a1, int a2, int a3, int a4)
{
cocos2d::CCObject *v6; // r4
int v7; // r7
int v8; // r3
cocos2d::CCObject *v9; // r0
int v11[4]; // [sp+0h] [bp-10h] BYREF
v11[0] = a1;
v11[1] = a2;
v11[2] = a3;
v11[3] = a4;
v6 = (cocos2d::CCObject *)operator new(0x50u);
cocos2d::CCObject::CCObject(v6);
*(_DWORD *)v6 = &off_CB1420;
*((_DWORD *)v6 + 13) = 0;
*((_DWORD *)v6 + 14) = 0;
*((_DWORD *)v6 + 15) = 0;
*((_DWORD *)v6 + 16) = 0;
*((_DWORD *)v6 + 17) = 0;
*((_DWORD *)v6 + 18) = 0;
*((_DWORD *)v6 + 19) = 0;
std::string::basic_string(v11, a2);
v7 = MusicArtistObject::init((int)v6, a1, (unsigned __int8 *)v11);
std::string::~string((int)v11);
if ( v7 )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
v8 = *(_DWORD *)v6;
v9 = v6;
v6 = nullptr;
(*(void (__fastcall **)(cocos2d::CCObject *))(v8 + 8))(v9);
}
return v6;
}