//
// sub_1800041E0 from 0x1800041e0 to 0x1800041f6 (22 bytes)
//
// 1 xrefs:
// > cocos2d::CCNode::qsortAllChildrenWithIndex @ 0x180004621
//
// This function is hookable on this platform (idp: pc, 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:21:17 +0000
//
bool __fastcall sub_1800041E0(__int64 a1, __int64 a2)
{
int v2; // eax
v2 = *(_DWORD *)(a2 + 44);
if ( *(_DWORD *)(a1 + 44) == v2 )
return *(_DWORD *)(a1 + 48) < *(_DWORD *)(a2 + 48);
else
return *(_DWORD *)(a1 + 44) < v2;
}