//
// GameObject::isColorObject from 0x100261e04 to 0x100261e44 (64 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x10035ebe8
// > EditorUI::enableButton @ 0x1003e6fa4
// > EditorUI::disableButton @ 0x1003e7110
// > EditorUI::getCreateBtn @ 0x1003ea3d4
//
// 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 __fastcall GameObject::isColorObject(GameObject *a1)
{
int m_defaultColorID; // w8
if ( a1->m_customColorType == 1 || !a1->m_customColorType && a1->m_maybeNotColorable || a1->m_colorSprite )
return 0;
m_defaultColorID = a1->m_baseColor->m_defaultColorID;
return m_defaultColorID != 1004 && m_defaultColorID != 0;
}