//
// compEnterEffectSort from 0x9983e8 to 0x99841c (52 bytes)
//
// 3 xrefs:
// > ??> @ 0xe5618
// > GJBaseGameLayer::processAreaEffects @ 0x9d6ec4
// > ??> @ 0x1546e88
//
// 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 compEnterEffectSort(__int64 a1, __int64 a2)
{
__int64 v2; // x2
__int64 v3; // x0
int v4; // w3
int v5; // w1
v2 = *(_QWORD *)(a1 + 168);
v3 = *(_QWORD *)(a2 + 168);
v4 = *(_DWORD *)(v2 + 2024);
v5 = *(_DWORD *)(v3 + 2024);
if ( v4 == v5 )
return *(_DWORD *)(v2 + 2028) < *(_DWORD *)(v3 + 2028);
else
return v4 > v5;
}