//
// EditorUI::isSpecialSnapObject from 0x140129060 to 0x140129157 (247 bytes)
//
// 3 xrefs:
// > EditorUI::transformObjectCall_1 @ 0x1401206bb
// > EditorUI::transformObject @ 0x140120760
// > EditorUI::applySpecialOffset @ 0x140122680
//
// 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
//
bool EditorUI::isSpecialSnapObject(EditorUI *a1, int a2)
{
int v2; // edx
if ( a2 > 493 )
{
if ( a2 > 1015 )
{
if ( a2 > 1339 )
{
if ( a2 > 1718 )
{
switch ( a2 )
{
case 1724:
case 1744:
case 1746:
case 1748:
case 1750:
case 1759:
case 1761:
case 1763:
case 1773:
case 1774:
case 1775:
case 1776:
case 1785:
case 1786:
case 1787:
case 1788:
case 1789:
case 1790:
case 1791:
case 1792:
case 1794:
case 1796:
case 1800:
case 1802:
case 1804:
case 1806:
case 1808:
case 1810:
case 1900:
case 1907:
return 1;
default:
return 0;
}
}
if ( a2 != 1718 )
{
v2 = a2 - 1342;
if ( v2 )
{
if ( v2 != 3 )
return 0;
}
}
}
else if ( a2 != 1339 )
{
switch ( a2 )
{
case 1054:
case 1079:
case 1080:
case 1081:
case 1092:
case 1096:
case 1097:
case 1098:
case 1108:
case 1111:
case 1188:
case 1199:
return 1;
default:
return 0;
}
}
}
else if ( a2 != 1015 )
{
switch ( a2 )
{
case 652:
case 655:
case 656:
case 662:
case 663:
case 664:
case 666:
case 674:
case 682:
case 684:
case 686:
case 688:
case 690:
case 692:
case 694:
case 696:
case 698:
case 700:
case 702:
case 704:
case 706:
case 708:
case 710:
case 712:
case 714:
case 716:
case 727:
case 729:
case 731:
case 733:
case 828:
case 829:
case 873:
case 878:
case 889:
case 891:
return 1;
default:
return 0;
}
}
}
else if ( a2 != 493 )
{
switch ( a2 )
{
case 234:
case 245:
case 277:
case 291:
case 295:
case 301:
case 307:
case 311:
case 317:
case 323:
case 327:
case 329:
case 333:
case 339:
case 345:
case 351:
case 355:
case 364:
case 367:
case 372:
case 484:
return 1;
default:
return 0;
}
}
return 1;
}