//
// EditorUI::resetSelectedObjectsColor from 0x100019f50 to 0x100019fd4 (132 bytes)
//
// 0 xrefs:
//
// 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:18:55 +0000
//
unsigned int *__fastcall EditorUI::resetSelectedObjectsColor(__int64 a1)
{
__int64 v2; // rdi
unsigned int *result; // rax
__int64 v4; // rbx
_QWORD *v5; // rbx
unsigned __int64 v6; // r14
v2 = *(_QWORD *)(a1 + 1496);
if ( v2 )
return (unsigned int *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1528LL))(v2, 65280);
v4 = a1;
result = (unsigned int *)sub_1007FEF90(*(_QWORD *)(a1 + 896));
if ( (_DWORD)result )
{
result = *(unsigned int **)(v4 + 896);
if ( result )
{
result = *((unsigned int **)result + 7);
if ( *result )
{
v5 = *((_QWORD **)result + 2);
v6 = (unsigned __int64)&v5[*result - 1];
do
{
if ( !*v5 )
break;
result = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v5 + 1528LL))(*v5, 65280);
++v5;
}
while ( (unsigned __int64)v5 <= v6 );
}
}
}
return result;
}