//
// sub_1002D8E90 from 0x1002d8e90 to 0x1002d8ebc (44 bytes)
//
// 1 xrefs:
// > cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x1002d8e48
//
// 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 11:02:43 +0000
//
bool __fastcall sub_1002D8E90(__int64 a1, __int64 a2)
{
int v2; // w8
int v3; // w9
v2 = *(_DWORD *)(a1 + 44);
v3 = *(_DWORD *)(a2 + 44);
if ( v2 == v3 )
return *(_DWORD *)(a1 + 48) < *(_DWORD *)(a2 + 48);
else
return v2 < v3;
}