//
// SongInfoObject::copyValues from 0x573694 to 0x57372a (150 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::addSongObjectFromString @ 0x577e06
//
// 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::copyValues(unsigned __int8 *this, SongInfoObject *a2)
{
int v2; // r4
int v4; // r3
int v5; // r3
int v6; // r3
int v7; // r3
int v8; // r3
int v9; // r3
int v10; // r3
int v11; // r3
int v12; // r3
int v13; // r3
v2 = (int)this;
if ( a2 )
{
v4 = *(this + 388);
if ( (v4 & 1) != 0 )
v5 = *((_DWORD *)this + 98);
else
v5 = v4 >> 1;
if ( !v5 )
SongInfoObject::setSongLinks((int)this, (unsigned __int8 *)a2 + 388);
v6 = *(unsigned __int8 *)(v2 + 400);
if ( (v6 & 1) != 0 )
v7 = *(_DWORD *)(v2 + 404);
else
v7 = v6 >> 1;
if ( !v7 )
SongInfoObject::setArtistLinks(v2, (unsigned __int8 *)a2 + 400);
v8 = *(unsigned __int8 *)(v2 + 292);
this = (unsigned __int8 *)(v8 << 31);
if ( (v8 & 1) != 0 )
v9 = *(_DWORD *)(v2 + 296);
else
v9 = v8 >> 1;
if ( !v9 )
this = std::string::operator=((unsigned __int8 *)(v2 + 292), (unsigned __int8 *)a2 + 292);
v10 = *(unsigned __int8 *)(v2 + 316);
if ( (v10 & 1) != 0 )
v11 = *(_DWORD *)(v2 + 320);
else
v11 = v10 >> 1;
if ( !v11 )
this = std::string::operator=((unsigned __int8 *)(v2 + 316), (unsigned __int8 *)a2 + 316);
v12 = *(unsigned __int8 *)(v2 + 356);
if ( (v12 & 1) != 0 )
v13 = *(_DWORD *)(v2 + 360);
else
v13 = v12 >> 1;
if ( !v13 )
return std::string::operator=((unsigned __int8 *)(v2 + 356), (unsigned __int8 *)a2 + 356);
}
return this;
}