//
// sub_1005C1D1C from 0x1005c1d1c to 0x1005c1d90 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x100839ec0
//
// 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_1005C1D1C(__int64 a1, __int64 a2)
{
__int64 *v4; // x21
_QWORD *v5; // x20
_QWORD *v6; // x0
int v7; // w0
unsigned int v8; // w8
v4 = (__int64 *)sub_1005BFADC(*(_QWORD *)(a2 + 32));
v5 = (_QWORD *)sub_1005BFB6C(*(_QWORD *)(a1 + 32));
v6 = (_QWORD *)sub_1005BFB6C(*(_QWORD *)(a2 + 32));
v7 = sub_1005B8150(v4, v5, v6);
if ( v7 == 1 )
v8 = 0;
else
v8 = -2;
if ( v7 )
return v8;
else
return 1;
}