//
// GameObject::isSpecialObject from 0x14029fa60 to 0x14029fad0 (112 bytes)
//
// 2 xrefs:
// > EditorUI::updateDeleteButtons @ 0x1401f54cc
// > EditorUI::updateDeleteButtons @ 0x1401f5681
//
// 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:29:15 +0000
//
bool __fastcall GameObject::isSpecialObject(__int64 a1)
{
int v1; // edx
int v2; // edx
int v3; // edx
int v4; // edx
int v6; // edx
int v7; // edx
v1 = *(_DWORD *)(a1 + 1036);
if ( v1 <= 1327 )
{
if ( v1 != 1327 )
{
switch ( v1 )
{
case 914:
case 918:
case 919:
case 920:
case 921:
case 923:
case 924:
return 1;
default:
return 0;
}
}
return 1;
}
if ( v1 > 1937 )
{
v6 = v1 - 1938;
if ( !v6 )
return 1;
v7 = v6 - 1;
if ( !v7 )
return 1;
return v7 == 73;
}
else
{
if ( v1 == 1937 )
return 1;
v2 = v1 - 1328;
if ( !v2 )
return 1;
v3 = v2 - 256;
if ( !v3 )
return 1;
v4 = v3 - 31;
if ( !v4 )
return 1;
return v4 == 321;
}
}