//
// EffectGameObject::getTargetColorIndex from 0x100386548 to 0x1003865bc (116 bytes)
//
// 2 xrefs:
// > ColorSelectPopup::updateCopyColor @ 0x100420878
// > ColorSelectPopup::updateCopyColor @ 0x1004208c4
//
// 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
//
int __fastcall EffectGameObject::getTargetColorIndex(EffectGameObject *a1)
{
int m_objectID; // w8
m_objectID = a1->m_objectID;
if ( m_objectID > 743 )
{
if ( m_objectID == 744 )
return 1003;
if ( m_objectID != 900 )
{
if ( m_objectID == 915 )
return 1002;
return a1->m_targetColor;
}
return 1009;
}
else
{
if ( m_objectID == 29 )
return 1000;
if ( m_objectID != 30 )
{
if ( m_objectID == 105 )
return 1004;
return a1->m_targetColor;
}
return 1001;
}
}