//
// SongInfoObject::copyValues from 0x10058d270 to 0x10058d3c5 (341 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::addSongObjectFromString @ 0x10058bdae
//
// 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; // rsi
unsigned int v2; // eax
unsigned int v3; // eax
unsigned int v4; // eax
unsigned int v5; // eax
unsigned int v6; // eax
unsigned int v7; // eax
if ( !v1 )
return;
v2 = *(unsigned __int8 *)(v1 + 368);
if ( (v2 & 1) != 0 )
{
if ( !*(_QWORD *)(v1 + 376) )
goto LABEL_7;
goto LABEL_6;
}
if ( v2 >> 1 )
LABEL_6:
std::string::operator=((std::string *)&a1->m_youtubeVideo, (const std::string *)(v1 + 368));
LABEL_7:
v3 = *(unsigned __int8 *)(v1 + 392);
if ( (v3 & 1) != 0 )
{
if ( !*(_QWORD *)(v1 + 400) )
goto LABEL_12;
goto LABEL_11;
}
if ( v3 >> 1 )
LABEL_11:
std::string::operator=((std::string *)&a1->m_youtubeChannel, (const std::string *)(v1 + 392));
LABEL_12:
v4 = *(unsigned __int8 *)(v1 + 440);
if ( (v4 & 1) != 0 )
{
if ( !*(_QWORD *)(v1 + 448) )
goto LABEL_17;
goto LABEL_16;
}
if ( v4 >> 1 )
LABEL_16:
std::string::operator=((std::string *)&a1->m_downloadLinkOverride, (const std::string *)(v1 + 440));
LABEL_17:
v5 = *(unsigned __int8 *)(v1 + 416);
if ( (v5 & 1) != 0 )
{
if ( !*(_QWORD *)(v1 + 424) )
goto LABEL_22;
goto LABEL_21;
}
if ( v5 >> 1 )
LABEL_21:
std::string::operator=((std::string *)&a1->m_songUrl, (const std::string *)(v1 + 416));
LABEL_22:
v6 = *(unsigned __int8 *)(v1 + 480);
if ( (v6 & 1) == 0 )
{
if ( !(v6 >> 1) )
goto LABEL_27;
goto LABEL_26;
}
if ( *(_QWORD *)(v1 + 488) )
LABEL_26:
std::string::operator=((std::string *)&a1->m_extraArtists, (const std::string *)(v1 + 480));
LABEL_27:
v7 = *(unsigned __int8 *)(v1 + 536);
if ( (v7 & 1) == 0 )
{
if ( !(v7 >> 1) )
return;
goto LABEL_29;
}
if ( *(_QWORD *)(v1 + 544) )
LABEL_29:
std::string::operator=((std::string *)&a1->m_extraArtistNames, (const std::string *)(v1 + 536));
}