//
// compAdvFollowSort from 0x99841c to 0x998450 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0xb86c0
// > GJBaseGameLayer::processAdvancedFollowActions @ 0x9eba9c
// > ??> @ 0x1545540
//
// 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
//
bool __fastcall compAdvFollowSort(__int64 *a1, __int64 *a2)
{
__int64 v2; // x2
__int64 v3; // x0
int v4; // w3
int v5; // w1
v2 = *a1;
v3 = *a2;
v4 = *(_DWORD *)(v2 + 2060);
v5 = *(_DWORD *)(*a2 + 2060);
if ( v4 == v5 )
return *(_DWORD *)(v2 + 2064) < *(_DWORD *)(v3 + 2064);
else
return v4 > v5;
}