//
// GameObject::isSpecialObject from 0x772ad4 to 0x772b54 (128 bytes)
//
// 3 xrefs:
// > EditorUI::updateDeleteButtons @ 0xbdf5a4
// > EditorUI::updateDeleteButtons @ 0xbdf9a0
// > ??> @ 0x960e8
//
// This function is hookable on this platform (idp: arm, 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:53:13 +0000
//
bool __fastcall GameObject::isSpecialObject(GameObject *this)
{
int v1; // w0
v1 = *((_DWORD *)this + 257);
if ( v1 > 1328 )
{
if ( v1 > 1939 )
{
if ( v1 != 2012 )
return 0;
}
else if ( v1 < 1936 && v1 != 1584 && v1 != 1615 )
{
return 0;
}
return 1;
}
if ( v1 >= 1327 )
return 1;
if ( v1 <= 921 )
return v1 >= 918 || v1 == 914;
return (unsigned int)(v1 - 923) <= 1;
}