//
// sub_100439818 from 0x100439818 to 0x100439854 (60 bytes)
//
// 0 xrefs:
//
// 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_100439818(__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;
}