//
// sub_B02AC from 0xb02ac to 0xb02ec (64 bytes)
//
// 2 xrefs:
// > sub_B00B0 @ 0xb01b0
// > sub_B0810 @ 0xb0900
//
// 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 12:14:36 +0000
//
__int64 __fastcall sub_B02AC(__int64 a1)
{
__int64 *v1; // x8
__int64 *v2; // x9
float v3; // s0
float v4; // s1
v1 = *(__int64 **)(a1 + 576);
v2 = (__int64 *)(a1 + 576);
if ( v1 != (__int64 *)(a1 + 576) || *(__int64 **)(a1 + 584) != v2 )
{
v3 = 0.0;
while ( v2 != v1 )
{
v4 = *((float *)v1 + 4);
v1 = (__int64 *)*v1;
v3 = fmaxf(v3, v4);
}
*(float *)(a1 + 680) = v3;
}
return 0;
}