//
// GameObject::isColorObject from 0x1002ff0c0 to 0x1002ff100 (64 bytes)
//
// 4 xrefs:
// > EditorUI::getCreateBtn @ 0x1001845b0
// > LevelEditorLayer::updateVisibility @ 0x1004001b8
// > EditorUI::enableButton @ 0x100474900
// > EditorUI::disableButton @ 0x100474a6c
//
// 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 11:03:04 +0000
//
bool __fastcall GameObject::isColorObject(__int64 a1)
{
int v2; // w8
if ( *(_WORD *)(a1 + 1040) == 1 || !*(_WORD *)(a1 + 1040) && (*(_BYTE *)(a1 + 1292) & 1) != 0 || *(_QWORD *)(a1 + 888) )
return 0;
v2 = *(_DWORD *)(*(_QWORD *)(a1 + 1096) + 4LL);
return v2 != 1004 && v2 != 0;
}