//
// sub_1001D1D44 from 0x1001d1d44 to 0x1001d1d6c (40 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f0970
//
// 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 11:00:23 +0000
//
__int64 __fastcall sub_1001D1D44(__int64 *a1, __int64 a2)
{
__int64 v2; // x8
int v3; // w10
__int64 result; // x0
v2 = *a1;
v3 = *(unsigned __int8 *)(*a1 + 72);
result = *(unsigned __int8 *)(*(_QWORD *)a2 + 72LL);
if ( v3 == (_DWORD)result )
return (unsigned int)(*(_DWORD *)(v2 + 68) - *(_DWORD *)(*(_QWORD *)a2 + 68LL));
return result;
}