//
// GameObject::canChangeCustomColor from 0x1005ca050 to 0x1005ca07e (46 bytes)
//
// 6 xrefs:
// > EditorUI::editObject @ 0x10002b26f
// > EditorUI::editObject @ 0x10002b3b5
// > EditorUI::editButtonUsable @ 0x10004827f
// > EditorUI::editButtonUsable @ 0x1000482c2
// > EditorUI::getEditColorTargets @ 0x100049d00
// > CustomizeObjectLayer::init @ 0x1001f6635
//
// 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)
{
bool result; // al
GJSpriteColor *m_detailColor; // rax
result = 1;
if ( !a1->m_baseColor->m_defaultColorID )
{
m_detailColor = a1->m_detailColor;
return m_detailColor && m_detailColor->m_defaultColorID != 0;
}
return result;
}