//
// GameObject::canChangeSecondaryColor from 0x35733e to 0x35734e (16 bytes)
//
// 3 xrefs:
// > GameObject::canChangeCustomColor @ 0x35735e
// > EditorUI::getEditColorTargets @ 0x37fad2
// > EditorUI::getEditColorTargets @ 0x37fbb2
//
// 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 GameObject::canChangeSecondaryColor(GameObject *a1)
{
GJSpriteColor *m_detailColor; // r0
m_detailColor = a1->m_detailColor;
if ( m_detailColor )
LOBYTE(m_detailColor) = m_detailColor->m_defaultColorID != 0;
return (char)m_detailColor;
}