//
// sub_100580540 from 0x100580540 to 0x10058057c (60 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
//
bool __fastcall sub_100580540(int a1, float a2)
{
unsigned int v2; // edi
v2 = a1 - 3;
return (v2 >= 2 || a2 != 1.0) && (a2 != 0.0 || v2 < 0xFFFFFFFE);
}