//
// sub_14019F210 from 0x14019f210 to 0x14019f2da (202 bytes)
//
// 2 xrefs:
// > EditorUI::addObjectsToSmartTemplate @ 0x1401b6533
// > ??> @ 0x140919880
//
// 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:27:48 +0000
//
__int64 __fastcall sub_14019F210(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 + 1208LL))(v2, &v7);
v5 = *(float *)(*(__int64 (__fastcall **)(int *, char *))(*(_QWORD *)v3 + 1208LL))(v3, &v7);
if ( v4 == v5 )
{
v4 = *(float *)((*(__int64 (__fastcall **)(int *, char *))(*(_QWORD *)v2 + 1208LL))(v2, &v7) + 4);
v5 = *(float *)((*(__int64 (__fastcall **)(int *, char *))(*(_QWORD *)v3 + 1208LL))(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);
}