//
// sub_60F60 from 0x60f60 to 0x6104c (236 bytes)
//
// 1 xrefs:
// > sub_5D5B4 @ 0x5d6e4
//
// 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:13:53 +0000
//
void __fastcall sub_60F60(__int64 a1, __int64 a2)
{
float v4; // s1
float v5; // s0
int v6; // w23
int v7; // w21
int v8; // w22
__int64 v9; // x0
int v10; // w8
int v11; // w8
if ( (*(_BYTE *)(a2 + 24) & 0x40) == 0 )
goto LABEL_7;
v4 = *(float *)(a2 + 12) - *(float *)(a2 + 8);
sub_61764(
fmaxf(*(float *)(a2 + 4) - *(float *)a2, v4),
v4,
*(float *)(a2 + 20) - *(float *)(a2 + 16),
*(float *)(a1 + 20));
v6 = sub_60980((int)v5);
v7 = sub_61744();
v8 = sub_61738();
v9 = sub_6172C();
v10 = *(_DWORD *)(a2 + 28);
if ( v6 != v10
|| (v11 = -v10, ((*(_DWORD *)(a2 + 32) ^ v7) & v11) != 0)
|| ((*(_DWORD *)(a2 + 36) ^ v8) & v11) != 0
|| ((*(_DWORD *)(a2 + 40) ^ (unsigned int)v9) & v11) != 0 )
{
sub_60D14((__int64 *)a1, a2);
LABEL_7:
sub_608E4(a1, a2);
return;
}
sub_60EA8(v9, a2);
}