//
// RandTriggerGameObject::triggerObject from 0x3ee788 to 0x3ee808 (128 bytes)
//
// 0 xrefs:
//
// 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
//
void RandTriggerGameObject::triggerObject(
RandTriggerGameObject *a1,
GJBaseGameLayer *a2,
int a3,
std::vector *const a4)
{
int RandomGroupID; // r8
std::vector v8; // [sp+10h] [bp-14h] BYREF
if ( a1->m_objectID == 2068 )
{
RandomGroupID = RandTriggerGameObject::getRandomGroupID(a1);
if ( a4 )
std::vector::vector((unsigned int *)&v8, (int)a4);
else
memset(&v8, 0, sizeof(v8));
GJBaseGameLayer::spawnGroupTriggered(a2, RandomGroupID, 0.0, 0, &v8, a1->m_uniqueID, a1->m_controlID);
std::_Vector_base::~_Vector_base((void **)&v8.m_start);
}
else
{
EffectGameObject::triggerObject(a1, a2, a3, a4);
}
}