//
// EditorUI::positionIsInSnapped from 0x100011bc0 to 0x100011c57 (151 bytes)
//
// 0 xrefs:
//
// 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 12:18:52 +0000
//
__int64 __fastcall EditorUI::positionIsInSnapped(__int64 a1, float *a2)
{
unsigned int v2; // ebx
__int64 v3; // r12
v2 = 0;
if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 880)) )
{
do
{
v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 880), v2);
if ( *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3) == *a2
&& *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3) + 4) == a2[1] )
{
LOBYTE(v2) = 1;
return v2;
}
++v2;
}
while ( v2 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 880)) );
return 0;
}
return v2;
}