//
// sub_59BEC from 0x59bec to 0x59c16 (42 bytes)
//
// 4 xrefs:
// > sub_59870 @ 0x59890
// > sub_59870 @ 0x59936
// > sub_59870 @ 0x599dc
// > sub_59870 @ 0x59a52
//
// 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_59BEC(int *a1)
{
int v1; // r1
int v2; // r2
int v3; // r3
int result; // r0
v1 = *a1;
v2 = a1[1];
v3 = a1[2];
result = 0;
if ( (v1 & 0x7F800000) == 0x7F800000 )
result = 29;
if ( (v2 & 0x7F800000) == 0x7F800000 )
result = 29;
if ( (v3 & 0x7F800000) == 0x7F800000 )
return 29;
return result;
}