//
// SongInfoObject::setArtistLinks from 0x573660 to 0x573694 (52 bytes)
//
// 3 xrefs:
// > SongInfoObject::copyValues @ 0x5736cc
// > SongInfoObject::create @ 0x577c90
// > SongInfoObject::createWithCoder @ 0x5784aa
//
// 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:39 +0000
//
unsigned __int8 *__fastcall SongInfoObject::setArtistLinks(int a1, unsigned __int8 *a2)
{
int v4; // r6
int v5; // r0
GJLinkObject *v6; // r0
std::string::operator=((unsigned __int8 *)(a1 + 400), a2);
v4 = *(_DWORD *)(a1 + 424);
while ( 1 )
{
v5 = *(_DWORD *)(a1 + 428);
if ( v4 == v5 )
break;
v6 = (GJLinkObject *)(v5 - 32);
*(_DWORD *)(a1 + 428) = v6;
GJLinkObject::~GJLinkObject(v6);
}
return MusicDownloadManager::parseLinkRows(a2, (unsigned int *)(a1 + 424));
}