//
// sub_1005D391C from 0x1005d391c to 0x1005d39cc (176 bytes)
//
// 2 xrefs:
// > ??> @ 0x10083b2f8
// > ??> @ 0x10083b3c8
//
// 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
//
bool __fastcall sub_1005D391C(__int64 a1, __int64 a2)
{
if ( (unsigned int)sub_1005AB460(*(_QWORD *)(*(_QWORD *)(a1 + 32) + 8LL), *(_QWORD *)(*(_QWORD *)(a2 + 32) + 8LL)) )
return 0;
if ( (unsigned int)sub_1005AB460(*(_QWORD *)(*(_QWORD *)(a1 + 32) + 16LL), *(_QWORD *)(*(_QWORD *)(a2 + 32) + 16LL)) )
return 0;
if ( *(_UNKNOWN **)(a1 + 16) == &unk_10083B398
&& (unsigned int)sub_1005AB460(*(_QWORD *)(*(_QWORD *)(a1 + 32) + 64LL), *(_QWORD *)(*(_QWORD *)(a2 + 32) + 64LL)) )
{
return 0;
}
return (unsigned int)sub_1005AB460(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 32LL), *(_QWORD *)(*(_QWORD *)(a1 + 32) + 32LL)) == 0;
}