//
// sub_1005B5AE8 from 0x1005b5ae8 to 0x1005b5b1c (52 bytes)
//
// 0 xrefs:
//
// 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:09:13 +0000
//
__int64 __fastcall sub_1005B5AE8(float *a1, int a2, float a3)
{
float v3; // s1
if ( a2 == 1 )
{
a1[272] = a3;
}
else if ( !a2 )
{
a1[271] = a3;
v3 = a1[135];
if ( v3 <= a3 )
{
a1[271] = v3;
return 0;
}
}
return 0;
}