//
// sub_10055F980 from 0x10055f980 to 0x10055f9bc (60 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:08:06 +0000
//
__int64 __fastcall sub_10055F980(__int64 result)
{
__int64 v1; // x8
float *v2; // x9
float v3; // s0
float v4; // t1
float v5; // s1
v1 = *(unsigned int *)(result + 4);
if ( (int)v1 >= 2 )
{
v2 = (float *)(*(_QWORD *)(result + 40) + 20LL);
v3 = 0.0;
do
{
v4 = *v2;
v2 += 8;
v5 = v4;
if ( v4 > v3 )
v3 = v5;
--v1;
}
while ( v1 );
}
return result;
}