//
// LevelEditorLayer::addDelayedSpawn from 0x467688 to 0x4676c6 (62 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::activateTriggerEffect @ 0x467c7e
// > LevelEditorLayer::spawnGroupPreview @ 0x467ee4
//
// 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:48:57 +0000
//
int __fastcall LevelEditorLayer::addDelayedSpawn(int this, EffectGameObject *a2, int a3)
{
int v3; // r4
v3 = this;
if ( !*(_BYTE *)(this + 11181) || !*((_BYTE *)a2 + 1095) )
{
this = LevelEditorLayer::getDelayedSpawnNode((LevelEditorLayer *)this, (int)a2, a3);
*(_DWORD *)this = a2;
*(float *)(this + 4) = *(float *)&a3;
if ( (unsigned int)(*(_DWORD *)(v3 + 12236) - *(_DWORD *)(v3 + 12232)) > 7 )
*(_BYTE *)(v3 + 11813) = 1;
}
return this;
}