//
// compAdvFollowSort from 0x85482c to 0x854860 (52 bytes)
//
// 4 xrefs:
// > ??> @ 0x8b2c0
// > GJBaseGameLayer::processAdvancedFollowActions @ 0x8968b8
// > GJBaseGameLayer::processAdvancedFollowActions @ 0x8968f4
// > ??> @ 0x122cbc0
//
// 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
//
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 + 2040);
v5 = *(_DWORD *)(*a2 + 2040);
if ( v4 == v5 )
return *(_DWORD *)(v2 + 2044) < *(_DWORD *)(v3 + 2044);
else
return v4 > v5;
}