//
// GJEffectManager::spawnGroup from 0x100013be0 to 0x100013c70 (144 bytes)
//
// 2 xrefs:
// > GJEffectManager::prepareMoveActions @ 0x1000138e8
// > GJBaseGameLayer::spawnGroupTriggered @ 0x1001ec108
//
// 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 __fastcall GJEffectManager::spawnGroup(
GJEffectManager *a1,
int a2,
float a3,
bool a4,
std::vector *const a5,
int a6,
int a7)
{
std::__vector_base::pointer end; // x20
SpawnTriggerAction *v9; // x0
int v10; // [xsp+Ch] [xbp-24h] BYREF
int v11; // [xsp+10h] [xbp-20h] BYREF
bool v12; // [xsp+17h] [xbp-19h] BYREF
float v13; // [xsp+18h] [xbp-18h] BYREF
int v14; // [xsp+1Ch] [xbp-14h] BYREF
v14 = a2;
v13 = a3;
v12 = a4;
v10 = a7;
v11 = a6;
if ( a2 >= 1 )
{
end = a1->m_spawnTriggerActions.__end_;
if ( end >= a1->m_spawnTriggerActions.__end_cap_.__value_ )
{
v9 = (SpawnTriggerAction *)sub_10001B620(&a1->m_spawnTriggerActions, &v14, &v13, &v12, a5, &v11, &v10);
}
else
{
sub_10001B7A0(a1->m_spawnTriggerActions.__end_, a3);
v9 = end + 1;
a1->m_spawnTriggerActions.__end_ = end + 1;
}
a1->m_spawnTriggerActions.__end_ = v9;
}
}