//
// GJUserScore::mergeWithScore from 0x3cb888 to 0x3cb902 (122 bytes)
//
// 0 xrefs:
//
// 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 GJUserScore::mergeWithScore(GJUserScore *a1)
{
_DWORD *v1; // r1
int v2; // r3
int m_stars; // r2
int m_demons; // r2
int v5; // r3
int m_secretCoins; // r2
int v7; // r3
int m_creatorPoints; // r2
int v9; // r3
int m_diamonds; // r2
int v11; // r3
int m_moons; // r2
int v13; // r3
v2 = v1[71];
m_stars = a1->m_stars;
if ( m_stars < v2 )
a1->m_stars = v2;
else
a1->m_stars = m_stars;
m_demons = a1->m_demons;
v5 = v1[74];
if ( m_demons < v5 )
a1->m_demons = v5;
else
a1->m_demons = m_demons;
m_secretCoins = a1->m_secretCoins;
v7 = v1[77];
if ( m_secretCoins < v7 )
a1->m_secretCoins = v7;
else
a1->m_secretCoins = m_secretCoins;
m_creatorPoints = a1->m_creatorPoints;
v9 = v1[76];
if ( m_creatorPoints < v9 )
a1->m_creatorPoints = v9;
else
a1->m_creatorPoints = m_creatorPoints;
m_diamonds = a1->m_diamonds;
v11 = v1[73];
if ( m_diamonds < v11 )
a1->m_diamonds = v11;
else
a1->m_diamonds = m_diamonds;
m_moons = a1->m_moons;
v13 = v1[72];
if ( m_moons < v13 )
a1->m_moons = v13;
else
a1->m_moons = m_moons;
}