//
// sub_47C6C from 0x47c6c to 0x47ca0 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0x47c6a
// > sub_49968 @ 0x49970
// > sub_4BE78 @ 0x4be80
//
// 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_47C6C(int a1, float a2)
{
float v3; // s0
if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 && (LODWORD(a2) & 0x7FFFFF) != 0 )
return 29;
v3 = a2;
if ( a2 < 0.0 )
v3 = 0.0;
*(float *)(a1 + 28) = v3;
return 0;
}