//
// GJBaseGameLayer::spawnGroupTriggered from 0x10010a480 to 0x10010a4c2 (66 bytes)
//
// 4 xrefs:
// > EffectGameObject::triggerObject @ 0x10019aa0c
// > RandTriggerGameObject::triggerObject @ 0x1001a3ddd
// > SequenceTriggerGameObject::triggerObject @ 0x1001a54cd
// > SpawnTriggerGameObject::triggerObject @ 0x1001b3e71
//
// 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:21:33 +0000
//
__int64 __fastcall GJBaseGameLayer::spawnGroupTriggered(__int64 a1, __int64 a2, unsigned __int8 a3, float a4)
{
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 13096) )
{
if ( a4 <= 0.0 )
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD, double))(*(_QWORD *)a1 + 1256LL))(
a1,
a2,
a3,
(float)-a4);
else
return GJEffectManager::spawnGroup(*(_QWORD *)(a1 + 2152), a2, a3);
}
return result;
}