//
// GameObject::isSpecialObject from 0x10069ce60 to 0x10069cec9 (105 bytes)
//
// 2 xrefs:
// > EditorUI::updateDeleteButtons @ 0x10063beb1
// > EditorUI::updateDeleteButtons @ 0x10063c0e9
//
// 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:35:16 +0000
//
char __fastcall GameObject::isSpecialObject(__int64 a1)
{
int v1; // ecx
char result; // al
int v3; // esi
v1 = *(_DWORD *)(a1 + 1028);
result = 1;
if ( v1 > 1583 )
{
if ( v1 <= 1935 )
{
if ( v1 == 1584 || v1 == 1615 )
return result;
}
else if ( (unsigned int)(v1 - 1936) < 4 || v1 == 2012 )
{
return result;
}
return 0;
}
if ( (unsigned int)(v1 - 914) > 0xA || (v3 = 1777, !_bittest(&v3, v1 - 914)) )
{
if ( (unsigned int)(v1 - 1327) >= 2 )
return 0;
}
return result;
}