//
// SongInfoObject::updateArtists from 0x1001e229c to 0x1001e2398 (252 bytes)
//
// 1 xrefs:
// > SongInfoObject::init @ 0x1001e2224
//
// This function is hookable on this platform (idp: arm, 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:00:31 +0000
//
void __fastcall SongInfoObject::updateArtists(__int64 a1, const std::string *a2)
{
__int128 *v3; // x20
__int128 *i; // x21
__int128 v5; // q0
void **v6; // x0
int v7; // [xsp+Ch] [xbp-54h] BYREF
void *__p[2]; // [xsp+10h] [xbp-50h] BYREF
__int64 v9; // [xsp+20h] [xbp-40h]
__int128 *v10; // [xsp+28h] [xbp-38h] BYREF
__int128 *v11; // [xsp+30h] [xbp-30h]
__int64 v12; // [xsp+38h] [xbp-28h]
std::string::operator=((std::string *)(a1 + 408), a2);
sub_100018AA8((_QWORD *)(a1 + 488));
if ( (*(char *)(a1 + 431) & 0x8000000000000000LL) != 0 )
{
if ( !*(_QWORD *)(a1 + 416) )
return;
}
else if ( !*(_BYTE *)(a1 + 431) )
{
return;
}
v10 = nullptr;
v11 = nullptr;
v12 = 0;
sub_1001D45F0((std::string *)(a1 + 408), ".", (__int64)&v10);
v3 = v10;
for ( i = v11; v3 != i; v3 = (__int128 *)((char *)v3 + 24) )
{
if ( *((char *)v3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)v3, *((_QWORD *)v3 + 1));
}
else
{
v5 = *v3;
v9 = *((_QWORD *)v3 + 2);
*(_OWORD *)__p = v5;
}
if ( v9 >= 0 )
v6 = __p;
else
v6 = (void **)__p[0];
v7 = atoi((const char *)v6);
sub_10001CC04(a1 + 488, &v7, &v7);
if ( SHIBYTE(v9) < 0 )
operator delete(__p[0]);
}
__p[0] = &v10;
sub_100018250((void ***)__p);
}