//
// ChanceTriggerGameObject::getTargetIDs from 0x8995b8 to 0x899630 (120 bytes)
//
// 2 xrefs:
// > addTargetIDsFromTrigger @ 0x7b7cd8
// > ??> @ 0xf3238
//
// 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:56:11 +0000
//
void __fastcall ChanceTriggerGameObject::getTargetIDs(__int64 a1, __int64 a2)
{
_DWORD *v3; // x21
_DWORD *i; // x19
_DWORD *v5; // x0
v3 = *(_DWORD **)(a1 + 1848);
for ( i = *(_DWORD **)(a1 + 1840); v3 != i; i += 4 )
{
v5 = *(_DWORD **)(a2 + 8);
if ( v5 == *(_DWORD **)(a2 + 16) )
{
std::vector::__push_back_slow_path(a2, i);
}
else
{
if ( v5 )
{
*v5 = *i;
v5 = *(_DWORD **)(a2 + 8);
}
*(_QWORD *)(a2 + 8) = v5 + 1;
}
}
}