//
// sub_10050892C from 0x10050892c to 0x100508968 (60 bytes)
//
// 3 xrefs:
// > sub_10045AA6C @ 0x10045aa88
// > sub_10045E438 @ 0x10045e454
// > ??> @ 0x10082a470
//
// 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_10050892C(__int64 a1, float a2)
{
if ( (~LODWORD(a2) & 0x7F800000) == 0 && (LODWORD(a2) & 0x7FFFFF) != 0 )
return 29;
*(float *)(a1 + 52) = fmaxf(a2, 0.0);
return 0;
}