//
// sub_5875C from 0x5875c to 0x587ac (80 bytes)
//
// 2 xrefs:
// > sub_57CC0 @ 0x57d50
// > sub_58C3C @ 0x58ca0
//
// 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_5875C(__int64 a1, int a2, long double a3)
{
__int64 v4; // x0
__int64 result; // x0
v4 = *(_QWORD *)(a1 + 8LL * a2 + 336);
if ( !v4 )
return 0;
*(float *)&a3 = *(float *)(*(_QWORD *)(a1 + 32) + 492LL) * *(float *)(a1 + 4LL * a2 + 316);
result = sub_AC5A0(v4, 64, 1, 0, a3);
if ( !(_DWORD)result )
return 0;
return result;
}