//
// sub_1402D13E0 from 0x1402d13e0 to 0x1402d1454 (116 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateGameObjects @ 0x1402dc75f
// > ??> @ 0x1406d2edc
//
// 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
//
unsigned __int64 __fastcall sub_1402D13E0(float **a1, __int64 *a2)
{
float *v2; // rcx
__int64 v3; // rbx
float v4; // xmm6_4
float v5; // xmm7_4
v2 = *a1;
v3 = *a2;
v4 = v2[456];
v5 = *(float *)(*a2 + 1824);
if ( v4 == v5 )
{
v4 = v4 + (float)(*(int (__fastcall **)(float *))(*(_QWORD *)v2 + 56LL))(v2);
v5 = v5 + (float)(*(int (__fastcall **)(__int64))(*(_QWORD *)v3 + 56LL))(v3);
}
return (__PAIR64__(v4 > v5, LODWORD(v4)) - LODWORD(v5)) >> 32;
}