//
// sub_1400DF2A0 from 0x1400df2a0 to 0x1400df36a (202 bytes)
//
// 2 xrefs:
// > EditorUI::addObjectsToSmartTemplate @ 0x140116902
// > ??> @ 0x1406c8b50
//
// 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_1400DF2A0(int **a1, int **a2)
{
int *v2; // rbx
int *v3; // rdi
float v4; // xmm6_4
float v5; // xmm0_4
char v7; // [rsp+40h] [rbp+8h] BYREF
v2 = *a1;
v3 = *a2;
v4 = *(float *)(*(__int64 (__fastcall **)(int *, char *))(*(_QWORD *)v2 + 1192LL))(v2, &v7);
v5 = *(float *)(*(__int64 (__fastcall **)(int *, char *))(*(_QWORD *)v3 + 1192LL))(v3, &v7);
if ( v4 == v5 )
{
v4 = *(float *)((*(__int64 (__fastcall **)(int *, char *))(*(_QWORD *)v2 + 1192LL))(v2, &v7) + 4);
v5 = *(float *)((*(__int64 (__fastcall **)(int *, char *))(*(_QWORD *)v3 + 1192LL))(v3, &v7) + 4);
if ( v4 == v5 )
{
v4 = (float)v2[259];
v5 = (float)v3[259];
if ( v4 == v5 )
{
v4 = (float)v2[231];
v5 = (float)v3[231];
}
}
}
return (unsigned int)(int)(float)(v4 - v5);
}