//
// sub_10013A5D0 from 0x10013a5d0 to 0x10013a635 (101 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:24:52 +0000
//
void __fastcall sub_10013A5D0(float *a1, float *a2, float *a3)
{
float v3; // xmm2_4
float v4; // xmm0_4
float v5; // xmm2_4
float v6; // xmm0_4
v3 = *a2;
v4 = *a1;
if ( *a2 > 0.0 && v4 > v3 )
{
*a1 = v3;
v4 = v3;
}
v5 = a2[1];
if ( v5 > 0.0 && a1[1] > v5 )
a1[1] = v5;
if ( *a3 <= v4 )
{
v6 = a3[1];
if ( v6 <= a1[1] )
return;
LABEL_11:
a1[1] = v6;
return;
}
*a1 = *a3;
v6 = a3[1];
if ( v6 > a1[1] )
goto LABEL_11;
}