//
// sub_1041260 from 0x1041260 to 0x1041288 (40 bytes)
//
// 1 xrefs:
// > OBJ_add_sigid @ 0x104153c
//
// 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 13:16:30 +0000
//
__int64 __fastcall sub_1041260(__int64 *a1, __int64 a2)
{
__int64 v2; // x3
__int64 result; // x0
v2 = *a1;
result = (unsigned int)(*(_DWORD *)(*a1 + 4) - *(_DWORD *)(*(_QWORD *)a2 + 4LL));
if ( !(_DWORD)result )
return (unsigned int)(*(_DWORD *)(v2 + 8) - *(_DWORD *)(*(_QWORD *)a2 + 8LL));
return result;
}