//
// ColorAction::isInUse from 0x8a3d24 to 0x8a3d94 (112 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::getNextColorChannel @ 0x672cf0
// > EditorUI::pasteObjects @ 0x6bf488
// > ??> @ 0x3bbf8
//
// 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 ColorAction::isInUse(ColorAction *a1)
{
bool v1; // w1
v1 = a1->m_fromColor.b == 255 && a1->m_fromColor.r == 255 && a1->m_fromColor.g == 255;
if ( !v1 )
return 1;
if ( a1->m_fromOpacity != 1.0 || a1->m_copyID || a1->m_blending )
return v1;
return a1->m_playerColor > 0;
}