//
// ColorAction::isInUse from 0x10000d634 to 0x10000d68c (88 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::getNextColorChannel @ 0x1003603dc
// > EditorUI::pasteObjects @ 0x1003eca70
//
// 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 ColorAction::isInUse(ColorAction *a1)
{
bool v1; // zf
v1 = (*(unsigned __int16 *)&a1->m_fromColor.r | (a1->m_fromColor.b << 16)) >= 0xFF0000u
&& *(unsigned __int16 *)&a1->m_fromColor.r == 0xFFFF;
return !v1 || a1->m_fromOpacity != 1.0 || a1->m_copyID || a1->m_blending || a1->m_playerColor > 0;
}