//
// sub_75BFD0 from 0x75bfd0 to 0x75bff2 (34 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_75BFD0(_DWORD *a1)
{
unsigned int v1; // r2
unsigned int v2; // r3
if ( (a1[8] & 8) == 0 )
return -1;
v1 = a1[5];
v2 = a1[3];
if ( v1 )
{
if ( v1 > v2 )
{
a1[3] = v1;
v2 = v1;
}
}
return (int)(v2 - a1[2]) >> 2;
}