//
// GJUserScore::mergeWithScore from 0x71268c to 0x712708 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x36b40
//
// 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; // x1
int m_stars; // w2
int m_demons; // w7
int m_secretCoins; // w6
int m_creatorPoints; // w5
int v6; // w2
int m_diamonds; // w4
int m_moons; // w3
int v9; // w2
int v10; // w2
int v11; // w2
int v12; // w1
m_stars = v1[87];
m_demons = a1->m_demons;
m_secretCoins = a1->m_secretCoins;
if ( m_stars < a1->m_stars )
m_stars = a1->m_stars;
a1->m_stars = m_stars;
m_creatorPoints = a1->m_creatorPoints;
v6 = v1[90];
m_diamonds = a1->m_diamonds;
m_moons = a1->m_moons;
if ( v6 < m_demons )
v6 = m_demons;
a1->m_demons = v6;
v9 = v1[93];
if ( v9 < m_secretCoins )
v9 = m_secretCoins;
a1->m_secretCoins = v9;
v10 = v1[92];
if ( v10 < m_creatorPoints )
v10 = m_creatorPoints;
a1->m_creatorPoints = v10;
v11 = v1[89];
if ( v11 < m_diamonds )
v11 = m_diamonds;
a1->m_diamonds = v11;
v12 = v1[88];
if ( v12 < m_moons )
v12 = m_moons;
a1->m_moons = v12;
}