//
// sub_10051A730 from 0x10051a730 to 0x10051a7bd (141 bytes)
//
// 1 xrefs:
// > GameLevelManager::onGetLeaderboardScoresCompleted @ 0x1005209ca
//
// 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_10051A730(int **a1, int **a2)
{
int *v2; // rax
float v3; // xmm0_4
int *v4; // rcx
float v5; // xmm1_4
v2 = *a1;
v3 = (float)(*a1)[95];
v4 = *a2;
v5 = (float)(*a2)[95];
if ( v3 == v5 )
{
v3 = v3 + (float)v2[98];
v5 = v5 + (float)v4[98];
if ( v3 == v5 )
{
v3 = v3 + (float)v2[101];
v5 = v5 + (float)v4[101];
if ( v3 == v5 )
{
v3 = v3 + (float)v2[102];
v5 = v5 + (float)v4[102];
}
}
}
return (unsigned int)(int)(float)(v5 - v3);
}