//
// ColorAction::isInUse from 0x9f9250 to 0x9f92c0 (112 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::getNextColorChannel @ 0x7a9408
// > EditorUI::pasteObjects @ 0xbd9868
// > ??> @ 0x56b00
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:59:15 +0000
//
bool __fastcall ColorAction::isInUse(ColorAction *this)
{
_BOOL4 v1; // w1
v1 = *((unsigned __int8 *)this + 74) == 255
&& *((unsigned __int8 *)this + 72) == 255
&& *((unsigned __int8 *)this + 73) == 255;
if ( *((unsigned __int8 *)this + 74) != 255
|| *((unsigned __int8 *)this + 72) != 255
|| *((unsigned __int8 *)this + 73) != 255 )
{
return 1;
}
if ( *((float *)this + 24) != 1.0 || *((_DWORD *)this + 30) || *((_BYTE *)this + 84) )
return v1;
return *((_DWORD *)this + 22) > 0;
}