//
// sub_100603094 from 0x100603094 to 0x1006030dc (72 bytes)
//
// 2 xrefs:
// > sub_100603940 @ 0x100603a18
// > sub_100602FD4 @ 0x100602ffc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100603094(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_1005FEE00(*((_QWORD *)v2 + 1), *((_QWORD *)v4 + 1));
}
else if ( v3 == 1 )
{
return sub_1005FED60(*((_QWORD *)v2 + 1), *((_QWORD *)v4 + 1));
}
else
{
return 0;
}
}
return result;
}