//
// sub_140142A00 from 0x140142a00 to 0x140142a94 (148 bytes)
//
// 1 xrefs:
// > GameLevelManager::onGetLeaderboardScoresCompleted @ 0x140157f48
//
// 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
//
__int64 __fastcall sub_140142A00(int **a1, int **a2)
{
int *v2; // rax
int *v3; // rcx
float v4; // xmm2_4
float v5; // xmm3_4
v2 = *a1;
v3 = *a2;
v4 = (float)(*a2)[99];
v5 = (float)v2[99];
if ( v5 == v4 )
{
v5 = v5 + (float)v2[102];
v4 = v4 + (float)v3[102];
if ( v5 == v4 )
{
v5 = v5 + (float)v2[105];
v4 = v4 + (float)v3[105];
if ( v5 == v4 )
{
v5 = v5 + (float)v2[106];
v4 = v4 + (float)v3[106];
}
}
}
return (unsigned int)(int)(float)(v4 - v5);
}