//
// LevelEditorLayer::getDelayedSpawnNode from 0x100361800 to 0x100361868 (104 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::spawnGroupPreview @ 0x100360c04
// > LevelEditorLayer::activateTriggerEffect @ 0x1003611b4
//
// 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
//
DelayedSpawnNode *__fastcall LevelEditorLayer::getDelayedSpawnNode(LevelEditorLayer *a1)
{
DelayedSpawnNode **end; // x8
DelayedSpawnNode *v3; // x0
DelayedSpawnNode *v5; // [xsp+8h] [xbp-18h] BYREF
end = a1->m_delayedSpawnNodes2.__end_;
if ( a1->m_delayedSpawnNodes2.__begin_ == end )
{
v3 = (DelayedSpawnNode *)operator new(0x10u);
v3->m_gameObject = nullptr;
v3->m_spawnDelay = 0.0;
}
else
{
v3 = *(end - 1);
a1->m_delayedSpawnNodes2.__end_ = end - 1;
}
v5 = v3;
sub_1000115B8((__int64)&a1->m_delayedSpawnNodes, &v5);
return v5;
}