//
// compEnterEffectSort from 0x46b61c to 0x46b64a (46 bytes)
//
// 0 xrefs:
//
// 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 compEnterEffectSort(int a1, int a2)
{
int v2; // r3
int v3; // r2
int v4; // r0
int v5; // r1
v2 = *(_DWORD *)(a1 + 164);
v3 = *(_DWORD *)(a2 + 164);
v4 = *(_DWORD *)(v2 + 1820);
v5 = *(_DWORD *)(v3 + 1820);
if ( v4 == v5 )
return *(_DWORD *)(v2 + 1824) < *(_DWORD *)(v3 + 1824);
else
return v4 > v5;
}