//
// GJBaseGameLayer::spawnGroupTriggered from 0x58fb3c to 0x58fb9a (94 bytes)
//
// 4 xrefs:
// > SpawnTriggerGameObject::triggerObject @ 0x4e68a4
// > EffectGameObject::triggerObject @ 0x4f5304
// > RandTriggerGameObject::triggerObject @ 0x4f56ee
// > SequenceTriggerGameObject::triggerObject @ 0x4f71f6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:04 +0000
//
_BYTE *__fastcall GJBaseGameLayer::spawnGroupTriggered(_BYTE *result, int a2, float a3, int a4, int a5, int a6, int a7)
{
if ( !result[11140] )
{
if ( a3 > 0.0 )
return (_BYTE *)GJEffectManager::spawnGroup(*((_DWORD *)result + 381));
else
return (_BYTE *)(*(int (__fastcall **)(_BYTE *, int, int, _DWORD, _DWORD, _DWORD, int, int, int))(*(_DWORD *)result + 628))(
result,
a2,
a4,
*(_DWORD *)(*(_DWORD *)result + 628),
COERCE_UNSIGNED_INT64((float)-a3),
HIDWORD(COERCE_UNSIGNED_INT64((float)-a3)),
a5,
a6,
a7);
}
return result;
}