//
// GJUserScore::mergeWithScore from 0x806db8 to 0x806e34 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x50050
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:54:45 +0000
//
_DWORD *__fastcall GJUserScore::mergeWithScore(_DWORD *result, _DWORD *a2)
{
int v2; // w2
int v3; // w7
int v4; // w6
int v5; // w5
int v6; // w2
int v7; // w4
int v8; // w3
int v9; // w2
int v10; // w2
int v11; // w2
int v12; // w1
v2 = a2[95];
v3 = result[98];
v4 = result[101];
if ( v2 < result[95] )
v2 = result[95];
result[95] = v2;
v5 = result[100];
v6 = a2[98];
v7 = result[97];
v8 = result[96];
if ( v6 < v3 )
v6 = v3;
result[98] = v6;
v9 = a2[101];
if ( v9 < v4 )
v9 = v4;
result[101] = v9;
v10 = a2[100];
if ( v10 < v5 )
v10 = v5;
result[100] = v10;
v11 = a2[97];
if ( v11 < v7 )
v11 = v7;
result[97] = v11;
v12 = a2[96];
if ( v12 < v8 )
v12 = v8;
result[96] = v12;
return result;
}