//
// ChanceTriggerGameObject::containsTargetID from 0x10019bc40 to 0x10019bc79 (57 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:25:57 +0000
//
bool __fastcall ChanceTriggerGameObject::containsTargetID(__int64 a1, int a2)
{
__int64 v2; // rdx
__int64 v3; // rcx
__int64 v4; // rdx
bool result; // al
bool v6; // zf
v2 = *(_QWORD *)(a1 + 1840);
v3 = *(_QWORD *)(a1 + 1848);
if ( v2 == v3 )
return 0;
v4 = v2 + 16;
do
{
result = *(_DWORD *)(v4 - 16) == a2;
if ( *(_DWORD *)(v4 - 16) == a2 )
break;
v6 = v4 == v3;
v4 += 16;
}
while ( !v6 );
return result;
}