//
// sub_C7440 from 0xc7440 to 0xc7478 (56 bytes)
//
// 2 xrefs:
// > sub_5382C @ 0x53898
// > ??> @ 0x10ef40
//
// 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:46 +0000
//
__int64 __fastcall sub_C7440(__int64 a1, float a2)
{
if ( a2 >= 0.0 )
{
if ( *(_QWORD *)(a1 + 552) && (*(_BYTE *)(*(_QWORD *)(a1 + 544) + 56LL) & 4) == 0 )
*(_DWORD *)(a1 + 584) = 0;
}
else
{
*(_DWORD *)(a1 + 584) = 1;
a2 = -a2;
}
*(float *)(a1 + 560) = a2;
return 0;
}