//
// EditorUI::isLiveColorSelectTrigger from 0x7c4668 to 0x7c4698 (48 bytes)
//
// 2 xrefs:
// > EditorUI::getEditColorTargets @ 0x7c56fc
// > ??> @ 0xa16e0
//
// 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:54:08 +0000
//
__int64 __fastcall EditorUI::isLiveColorSelectTrigger(EditorUI *this, GameObject *a2)
{
__int64 result; // x0
if ( !a2 || *((_DWORD *)a2 + 312) != 1 )
return 0;
result = *((unsigned __int8 *)a2 + 1254);
if ( !*((_BYTE *)a2 + 1254) )
return *((_DWORD *)a2 + 257) == 1006;
return result;
}