//
// EffectGameObject::hasSpawnTargetID from 0x762364 to 0x7624a0 (316 bytes)
//
// 1 xrefs:
// > ??> @ 0x81a20
//
// 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
//
bool EffectGameObject::hasSpawnTargetID(EffectGameObject *a1, int a2)
{
int m_objectID; // w2
bool m_activateGroup; // w2
if ( a2 <= 0 )
return 0;
m_objectID = a1->m_objectID;
if ( m_objectID != 1912 )
{
if ( m_objectID <= 1912 )
{
if ( m_objectID > 1595 )
{
if ( m_objectID == 1811 )
goto LABEL_16;
if ( m_objectID != 1815 )
{
if ( m_objectID == 1611 )
goto LABEL_16;
goto LABEL_22;
}
return a1->m_targetGroupID == a2;
}
if ( m_objectID < 1594 && m_objectID != 1268 && m_objectID != 1329 && m_objectID != 142 )
goto LABEL_22;
return a1->m_targetGroupID == a2;
}
if ( m_objectID == 3607 )
return ChanceTriggerGameObject::containsTargetID((ChanceTriggerGameObject *)a1, a2);
if ( m_objectID <= 3607 )
{
if ( m_objectID != 2068 )
{
if ( m_objectID != 3604 )
{
if ( m_objectID == 2063 )
{
if ( a1->m_targetGroupID != a2 )
return a2 == LODWORD(a1[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable);
return 1;
}
goto LABEL_22;
}
return a1->m_targetGroupID == a2;
}
return ChanceTriggerGameObject::containsTargetID((ChanceTriggerGameObject *)a1, a2);
}
if ( m_objectID != 3620 )
{
if ( m_objectID > 3620 )
{
if ( m_objectID == 3640 || m_objectID == 3643 )
return a1->m_targetGroupID == a2;
LABEL_22:
m_activateGroup = 0;
if ( a1->m_objectType != Collectible )
return m_activateGroup;
LABEL_16:
m_activateGroup = a1->m_activateGroup;
if ( m_activateGroup )
return a2 == a1->m_targetGroupID;
return m_activateGroup;
}
if ( m_objectID != 3609 )
goto LABEL_22;
return a1->m_targetGroupID == a2;
}
}
if ( a1->m_targetGroupID == a2 )
return 1;
return a2 == a1->m_centerGroupID;
}