//
// sub_1001A6CC8 from 0x1001a6cc8 to 0x1001a6d38 (112 bytes)
//
// 1 xrefs:
// > EditorUI::checkLiveColorSelect @ 0x1001a61f0
//
// 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:00:03 +0000
//
void __fastcall sub_1001A6CC8(__int64 a1, __n128 a2)
{
__int64 v3; // x20
__n128 v4; // q0
if ( *(_QWORD *)(a1 + 1496) )
{
GameObject::updateObjectEditorColor(a2);
}
else if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 896)) && (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 896)) )
{
v3 = 0;
do
{
sub_1002E75A0(*(_QWORD *)(a1 + 896), v3);
GameObject::updateObjectEditorColor(v4);
v3 = (unsigned int)(v3 + 1);
}
while ( (unsigned int)v3 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 896)) );
}
}