//
// sub_1006E7E84 from 0x1006e7e84 to 0x1006e7ef8 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bd530
//
// 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:12:36 +0000
//
__int64 __fastcall sub_1006E7E84(__int64 a1, __int64 a2)
{
__int64 *v4; // x21
_QWORD *v5; // x20
_QWORD *v6; // x0
int v7; // w0
unsigned int v8; // w8
v4 = (__int64 *)sub_1006E5C44(*(_QWORD *)(a2 + 32));
v5 = (_QWORD *)sub_1006E5CD4(*(_QWORD *)(a1 + 32));
v6 = (_QWORD *)sub_1006E5CD4(*(_QWORD *)(a2 + 32));
v7 = sub_1006DE2B8(v4, v5, v6);
if ( v7 == 1 )
v8 = 0;
else
v8 = -2;
if ( v7 )
return v8;
else
return 1;
}