//
// GameObject::canChangeCustomColor from 0x10069b750 to 0x10069b77e (46 bytes)
//
// 6 xrefs:
// > EditorUI::editObject @ 0x1000097fa
// > EditorUI::editObject @ 0x100009940
// > EditorUI::editButtonUsable @ 0x100017c1f
// > EditorUI::editButtonUsable @ 0x100017c62
// > EditorUI::getEditColorTargets @ 0x100019710
// > CustomizeObjectLayer::init @ 0x1001d89e5
//
// This function is hookable on this platform (idp: pc, 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:35:16 +0000
//
bool __fastcall GameObject::canChangeCustomColor(__int64 a1)
{
bool result; // al
__int64 v2; // rax
result = 1;
if ( !*(_DWORD *)(*(_QWORD *)(a1 + 1096) + 4LL) )
{
v2 = *(_QWORD *)(a1 + 1104);
return v2 && *(_DWORD *)(v2 + 4) != 0;
}
return result;
}