//
// GJBaseGameLayer::spawnGroupTriggered from 0x99f5b4 to 0x99f5fc (72 bytes)
//
// 5 xrefs:
// > SpawnTriggerGameObject::triggerObject @ 0x86ff68
// > EffectGameObject::triggerObject @ 0x898344
// > RandTriggerGameObject::triggerObject @ 0x898ef0
// > SequenceTriggerGameObject::triggerObject @ 0x89cb88
// > ??> @ 0xa54f0
//
// 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:58:06 +0000
//
__int64 __fastcall GJBaseGameLayer::spawnGroupTriggered(__int64 result, __int64 a2, unsigned __int8 a3, float a4)
{
if ( !*(_BYTE *)(result + 13096) )
{
if ( a4 <= 0.0 )
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD, double))(*(_QWORD *)result + 1256LL))(
result,
a2,
a3,
(float)-a4);
else
return GJEffectManager::spawnGroup(*(_QWORD *)(result + 2152), a2, a3);
}
return result;
}