//
// LevelEditorLayer::resetDelayedSpawnNodes from 0x46757c to 0x4675fe (130 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::updateGameObjects @ 0x46ccb6
//
// 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
//
void __fastcall LevelEditorLayer::resetDelayedSpawnNodes(LevelEditorLayer *this, int a2, int a3)
{
char *v3; // r5
_DWORD *v4; // r8
int *v6; // r9
int *v7; // r7
_DWORD *v8; // r3
int v9; // r1
int v10; // t1
bool v11; // zf
int v12; // r3
_DWORD *i; // r4
_DWORD v14[3]; // [sp+0h] [bp-Ch] BYREF
v14[0] = this;
v14[1] = a2;
v14[2] = a3;
v3 = (char *)this + 12244;
v4 = (_DWORD *)((char *)this + 12252);
v6 = *((int **)this + 3059);
v7 = *((int **)this + 3058);
while ( v7 != v6 )
{
v8 = *((_DWORD **)v3 + 1);
v10 = *v7++;
v9 = v10;
v11 = v8 == (_DWORD *)*v4;
v14[0] = v10;
if ( v11 )
{
std::vector::__push_back_slow_path((int)v3, v14);
}
else
{
if ( v8 )
*v8 = v9;
*((_DWORD *)v3 + 1) += 4;
}
}
v12 = *((_DWORD *)this + 3058);
for ( i = (_DWORD *)((char *)this + 12236); v12 != *i; *i -= 4 )
;
}