//
// GameObject::editorColorForCustomMode from 0x1005c9420 to 0x1005c94bb (155 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::ccColor3B __fastcall GameObject::editorColorForCustomMode(GameObject *a1, int a2)
{
int v2; // eax
int v3; // eax
v2 = a2 - 5;
if ( a2 < 5 )
v2 = a2;
switch ( v2 % 12 )
{
case 0:
v3 = 11010002;
break;
case 1:
v3 = 11009959;
break;
case 2:
v3 = 13762469;
break;
case 3:
v3 = 16777127;
break;
case 4:
v3 = 16765350;
break;
case 5:
v3 = 16754599;
break;
case 6:
v3 = 16754385;
break;
case 7:
v3 = 16754687;
break;
case 8:
v3 = 13739775;
break;
case 9:
v3 = 10987519;
break;
case 10:
v3 = 10932735;
break;
case 11:
v3 = 11010047;
break;
default:
v3 = 0xFFFFFF;
break;
}
return (cocos2d::ccColor3B)v3;
}