//
// ChanceTriggerGameObject::containsTargetID from 0x87ab7c to 0x87abc4 (72 bytes)
//
// 2 xrefs:
// > EffectGameObject::hasSpawnTargetID @ 0x87ac98
// > ??> @ 0xadd88
//
// This function is hookable on this platform (idp: arm, 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:55:51 +0000
//
__int64 __fastcall ChanceTriggerGameObject::containsTargetID(ChanceTriggerGameObject *this, int a2)
{
int *v2; // x2
int *v3; // x3
int *i; // x0
int v5; // t1
v2 = *((int **)this + 230);
v3 = *((int **)this + 231);
if ( v2 == v3 )
return 0;
if ( *v2 != a2 )
{
for ( i = v2 + 4; v3 != i; i += 4 )
{
v5 = *i;
if ( v5 == a2 )
return 1;
}
return 0;
}
return 1;
}