//
// GameObject::canChangeCustomColor from 0x100261d2c to 0x100261d60 (52 bytes)
//
// 6 xrefs:
// > CustomizeObjectLayer::init @ 0x10004e8a4
// > EditorUI::editObject @ 0x1003e4ba0
// > EditorUI::editObject @ 0x1003e4c90
// > EditorUI::editButtonUsable @ 0x1003f4cbc
// > EditorUI::editButtonUsable @ 0x1003f4cec
// > EditorUI::getEditColorTargets @ 0x1003f5a54
//
// 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::canChangeCustomColor(GameObject *a1)
{
GJSpriteColor *m_detailColor; // x8
if ( a1->m_baseColor->m_defaultColorID )
return 1;
m_detailColor = a1->m_detailColor;
return m_detailColor && m_detailColor->m_defaultColorID != 0;
}