//
// GameObject::isColorObject from 0x1005ca130 to 0x1005ca175 (69 bytes)
//
// 7 xrefs:
// > EditorUI::updateCreateMenu @ 0x10002e3a1
// > EditorUI::updateCreateMenu @ 0x10002e533
// > EditorUI::updateCreateMenu @ 0x10002e6c1
// > EditorUI::enableButton @ 0x10002e90f
// > EditorUI::disableButton @ 0x10002ea3f
// > EditorUI::getCreateBtn @ 0x100033979
// > LevelEditorLayer::updateVisibility @ 0x1000eb133
//
// 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)
{
return a1->m_customColorType != 1
&& (a1->m_customColorType || !a1->m_maybeNotColorable)
&& !a1->m_colorSprite
&& a1->m_baseColor->m_defaultColorID != 1004
&& a1->m_baseColor->m_defaultColorID != 0;
}