//
// sub_1005C690C from 0x1005c690c to 0x1005c6948 (60 bytes)
//
// 2 xrefs:
// > sub_10057DC6C @ 0x10057dcd4
// > ??> @ 0x1009ab7f8
//
// 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:09:25 +0000
//
__int64 __fastcall sub_1005C690C(__int64 a1, float a2)
{
if ( a2 >= 0.0 )
{
if ( *(_QWORD *)(a1 + 544) && (*(_BYTE *)(*(_QWORD *)(a1 + 536) + 56LL) & 4) == 0 )
*(_DWORD *)(a1 + 576) = 0;
}
else
{
*(_DWORD *)(a1 + 576) = 1;
a2 = -a2;
}
*(float *)(a1 + 552) = a2;
return 0;
}