//
// sub_10058F2A4 from 0x10058f2a4 to 0x10058f2d8 (52 bytes)
//
// 1 xrefs:
// > sub_10058F170 @ 0x10058f1d4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:08:43 +0000
//
__int64 __fastcall sub_10058F2A4(__int64 a1, unsigned int a2, float a3)
{
__int64 result; // x0
bool v5; // cc
result = 31;
v5 = a3 > 1.0 || a2 > 0xF;
if ( !v5 && a3 >= 0.0 )
{
*(float *)(a1 + 888LL * a2 + 1920) = a3;
return 0;
}
return result;
}