//
// sub_1403ECE80 from 0x1403ece80 to 0x1403ecef4 (116 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateGameObjects @ 0x1403fb000
// > ??> @ 0x140925268
//
// 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:31:45 +0000
//
unsigned __int64 __fastcall sub_1403ECE80(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;
}