//
// sub_5636C from 0x5636c to 0x563c0 (84 bytes)
//
// 2 xrefs:
// > ??> @ 0x10c4e8
// > ??> @ 0x10c710
//
// 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
//
__int64 __fastcall sub_5636C(long double a1)
{
__int64 v1; // x20
__int64 result; // x0
__int64 v4; // [xsp+8h] [xbp-18h]
if ( (~LODWORD(a1) & 0x7F800000) == 0 )
return 29;
result = ((__int64 (*)(void))loc_578C8)();
if ( !(_DWORD)result )
{
result = sub_B06E8(v4, v1, a1);
if ( !(_DWORD)result )
return ((__int64 (*)(void))loc_57870)();
}
return result;
}