//
// sub_75C2B0 from 0x75c2b0 to 0x75c2d4 (36 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_75C2B0(_DWORD *a1)
{
unsigned int v2; // r3
unsigned int v3; // r2
unsigned int v4; // r3
if ( (a1[8] & 8) == 0 )
return -1;
v2 = a1[5];
v3 = a1[3];
if ( v2 )
{
if ( v2 > v3 )
{
a1[3] = v2;
v3 = v2;
}
}
v4 = a1[2];
if ( v4 < v3 )
return *(_DWORD *)v4;
else
return -1;
}