//
// sub_1007291FC from 0x1007291fc to 0x100729244 (72 bytes)
//
// 2 xrefs:
// > sub_100729AA8 @ 0x100729b80
// > sub_10072913C @ 0x100729164
//
// 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:13:09 +0000
//
__int64 __fastcall sub_1007291FC(int **a1, int **a2)
{
int *v2; // x8
int v3; // w10
int *v4; // x9
int v5; // w11
__int64 result; // x0
v2 = *a1;
v3 = **a1;
v4 = *a2;
v5 = **a2;
result = (unsigned int)(v3 - v5);
if ( v3 == v5 )
{
if ( v3 == 2 )
{
return sub_100724F68(*((_QWORD *)v2 + 1), *((_QWORD *)v4 + 1));
}
else if ( v3 == 1 )
{
return sub_100724EC8(*((_QWORD *)v2 + 1), *((_QWORD *)v4 + 1));
}
else
{
return 0;
}
}
return result;
}