//
// ChanceTriggerGameObject::containsTargetID from 0x76231c to 0x762364 (72 bytes)
//
// 2 xrefs:
// > EffectGameObject::hasSpawnTargetID @ 0x76242c
// > ??> @ 0x82c80
//
// 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 ChanceTriggerGameObject::containsTargetID(ChanceTriggerGameObject *a1, int a2)
{
ChanceObject *m_start; // x2
ChanceObject *m_finish; // x3
ChanceObject *i; // x0
int m_groupID; // t1
m_start = a1->m_chanceObjects.m_start;
m_finish = a1->m_chanceObjects.m_finish;
if ( m_finish == m_start )
return 0;
if ( m_start->m_groupID != a2 )
{
for ( i = m_start + 1; m_finish != i; ++i )
{
m_groupID = i->m_groupID;
if ( m_groupID == a2 )
return 1;
}
return 0;
}
return 1;
}