//
// SongInfoObject::copyValues from 0x1001551e8 to 0x1001552c0 (216 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::addSongObjectFromString @ 0x1001546f0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SongInfoObject::copyValues(SongInfoObject *a1)
{
__int64 v1; // x1
__int64 v2; // x19
__int64 v4; // x8
__int64 v5; // x8
__int64 v6; // x8
__int64 v7; // x8
__int64 v8; // x8
if ( v1 )
{
v2 = v1;
v4 = *(char *)(v1 + 391);
if ( v4 < 0 )
v4 = *(_QWORD *)(v1 + 376);
if ( v4 )
std::string::operator=((std::string *)&a1->m_youtubeVideo, (const std::string *)(v1 + 368));
v5 = *(char *)(v2 + 415);
if ( v5 < 0 )
v5 = *(_QWORD *)(v2 + 400);
if ( v5 )
std::string::operator=((std::string *)&a1->m_youtubeChannel, (const std::string *)(v2 + 392));
v6 = *(char *)(v2 + 463);
if ( v6 < 0 )
v6 = *(_QWORD *)(v2 + 448);
if ( v6 )
std::string::operator=((std::string *)&a1->m_downloadLinkOverride, (const std::string *)(v2 + 440));
v7 = *(char *)(v2 + 439);
if ( v7 < 0 )
v7 = *(_QWORD *)(v2 + 424);
if ( v7 )
std::string::operator=((std::string *)&a1->m_songUrl, (const std::string *)(v2 + 416));
v8 = *(char *)(v2 + 503);
if ( v8 < 0 )
v8 = *(_QWORD *)(v2 + 488);
if ( v8 )
std::string::operator=((std::string *)&a1->m_extraArtists, (const std::string *)(v2 + 480));
if ( (*(char *)(v2 + 559) & 0x8000000000000000LL) == 0 )
{
if ( !*(_BYTE *)(v2 + 559) )
return;
goto LABEL_24;
}
if ( *(_QWORD *)(v2 + 544) )
LABEL_24:
std::string::operator=((std::string *)&a1->m_extraArtistNames, (const std::string *)(v2 + 536));
}
}