//
// sub_1001D9AEC from 0x1001d9aec to 0x1001d9b20 (52 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processAreaEffects @ 0x1001f4368
//
// 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 sub_1001D9AEC(__int64 a1, __int64 a2)
{
__int64 v2; // x8
int v3; // w10
__int64 v4; // x9
int v5; // w11
v2 = *(_QWORD *)(a1 + 168);
v3 = *(_DWORD *)(v2 + 2020);
v4 = *(_QWORD *)(a2 + 168);
v5 = *(_DWORD *)(v4 + 2020);
if ( v3 == v5 )
return *(_DWORD *)(v2 + 2024) < *(_DWORD *)(v4 + 2024);
else
return v3 > v5;
}