//
// sub_1001D1A60 from 0x1001d1a60 to 0x1001d1a8c (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f08f0
//
// 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_1001D1A60(__int64 *a1, __int64 a2)
{
__int64 v2; // x8
int v3; // w10
int v4; // w11
__int64 result; // x0
v2 = *a1;
v3 = *(_DWORD *)(*(_QWORD *)a2 + 452LL);
v4 = *(_DWORD *)(*a1 + 452);
result = (unsigned int)(v3 - v4);
if ( v3 == v4 )
return (unsigned int)(*(_DWORD *)(*(_QWORD *)a2 + 456LL) - *(_DWORD *)(v2 + 456));
return result;
}