//
// compAdvancedFollow from 0x9990a8 to 0x9990d8 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x8c770
//
// 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 12:58:03 +0000
//
__int64 __fastcall compAdvancedFollow(__int64 *a1, __int64 *a2)
{
__int64 v2; // x3
__int64 v3; // x2
int v4; // w1
int v5; // w0
bool v6; // zf
__int64 result; // x0
v2 = *a1;
v3 = *a2;
v4 = *(_DWORD *)(*a1 + 2060);
v5 = *(_DWORD *)(v3 + 2060);
v6 = v4 == v5;
result = (unsigned int)(v5 - v4);
if ( v6 )
return (unsigned int)(*(_DWORD *)(v2 + 2064) - *(_DWORD *)(v3 + 2064));
return result;
}