//
// GameObject::canChangeCustomColor from 0x35734e to 0x357364 (22 bytes)
//
// 6 xrefs:
// > EditorUI::editButtonUsable @ 0x37f410
// > EditorUI::editButtonUsable @ 0x37f446
// > EditorUI::getEditColorTargets @ 0x37fb82
// > EditorUI::editObject @ 0x380752
// > EditorUI::editObject @ 0x38077e
// > CustomizeObjectLayer::init @ 0x4623f2
//
// 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::canChangeCustomColor(GameObject *a1)
{
_BOOL4 v2; // r0
v2 = GameObject::canChangeMainColor(a1);
if ( !v2 )
LOBYTE(v2) = GameObject::canChangeSecondaryColor(a1);
return v2;
}