//
// sub_10050B004 from 0x10050b004 to 0x10050b050 (76 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_10050B004(__int64 a1)
{
__int64 *v1; // x8
__int64 *v2; // x9
float v3; // s0
v1 = (__int64 *)(a1 + 568);
v2 = *(__int64 **)(a1 + 568);
if ( v2 != (__int64 *)(a1 + 568) )
{
v3 = 0.0;
do
{
if ( v3 <= *((float *)v2 + 4) )
v3 = *((float *)v2 + 4);
v2 = (__int64 *)*v2;
}
while ( v2 != v1 );
goto LABEL_8;
}
v3 = 0.0;
if ( *(__int64 **)(a1 + 576) != v1 )
LABEL_8:
*(float *)(a1 + 672) = v3;
return 0;
}