//
// scoreCompare from 0x7fd100 to 0x7fd184 (132 bytes)
//
// 3 xrefs:
// > ??> @ 0xa0888
// > GameLevelManager::onGetLeaderboardScoresCompleted @ 0x84986c
// > ??> @ 0x1544758
//
// 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:42 +0000
//
__int64 __fastcall scoreCompare(int **a1, int **a2)
{
int *v2; // x3
int *v3; // x2
float v4; // s1
float v5; // s0
v2 = *a1;
v3 = *a2;
v4 = (float)(*a1)[95];
v5 = (float)(*a2)[95];
if ( v4 == v5 )
{
v4 = v4 + (float)v2[98];
v5 = v5 + (float)v3[98];
if ( v4 == v5 )
{
v4 = v4 + (float)v2[101];
v5 = v5 + (float)v3[101];
if ( v4 == v5 )
{
v4 = v4 + (float)v2[102];
v5 = v5 + (float)v3[102];
}
}
}
return (unsigned int)(int)(float)(v5 - v4);
}