//
// sub_1402052D0 from 0x1402052d0 to 0x14020530c (60 bytes)
//
// 7 xrefs:
// > GJBaseGameLayer::sortGroups @ 0x140224426
// > GJBaseGameLayer::sortGroups @ 0x1402244cd
// > LevelEditorLayer::spawnGroupPreview @ 0x1402de028
// > LevelEditorLayer::recreateGroups @ 0x1402df034
// > DrawGridLayer::draw @ 0x1402e9333
// > PlayLayer::createObjectsFromSetupFinished @ 0x1403ad920
// > ??> @ 0x1406ccc54
//
// 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
//
__int64 __fastcall sub_1402052D0(_QWORD *a1, __int64 *a2)
{
__int64 v2; // rbx
int v3; // edi
v2 = *a2;
v3 = (int)*(float *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 200LL))(*a1);
return (unsigned int)(v3 - (int)*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 200LL))(v2));
}