//
// sub_10058C23C from 0x10058c23c to 0x10058c264 (40 bytes)
//
// 1 xrefs:
// > sub_10058C12C @ 0x10058c190
//
// 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_10058C23C(__int64 *a1, __int64 a2)
{
__int64 v2; // x8
int v3; // w10
int v4; // w11
__int64 result; // x0
v2 = *a1;
v3 = *(_DWORD *)(*a1 + 4);
v4 = *(_DWORD *)(*(_QWORD *)a2 + 4LL);
result = (unsigned int)(v3 - v4);
if ( v3 == v4 )
return (unsigned int)(*(_DWORD *)(v2 + 8) - *(_DWORD *)(*(_QWORD *)a2 + 8LL));
return result;
}