//
// sub_47C6C from 0x47c6c to 0x47ca0 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0x47c6a
// > sub_49968 @ 0x49970
// > sub_4BE78 @ 0x4be80
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:40:39 +0000
//
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;
}