//
// sub_10008794C from 0x10008794c to 0x1000879d0 (132 bytes)
//
// 1 xrefs:
// > GameLevelManager::onGetLeaderboardScoresCompleted @ 0x10008ba38
//
// 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_10008794C(int **a1, int **a2)
{
int *v2; // x9
int *v3; // x8
float v4; // s0
float v5; // s1
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);
}