//
// sub_5E96C from 0x5e96c to 0x5ea0e (162 bytes)
//
// 2 xrefs:
// > sub_5F9D0 @ 0x5fbea
// > sub_5F9D0 @ 0x5fd92
//
// 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_5E96C(_DWORD *a1, float a2)
{
float v3; // r2
float v4; // r1
float v6; // s2
_BOOL4 v7; // r1
_BOOL4 v8; // r0
v3 = *(float *)(a1[1] + 4);
v4 = *(float *)(*a1 + 4);
if ( v4 < v3 )
return v4 <= a2 && a2 <= v3;
if ( a2 >= 0.0 )
{
v7 = v4 <= a2;
v8 = (float)(v3 + 360.0) >= a2;
}
else
{
v6 = v4 + -360.0;
v7 = a2 <= v3;
v8 = v6 <= a2;
}
return v8 && v7;
}