//
// LevelEditorLayer::quickUpdateAllPositions from 0x368940 to 0x3689ca (138 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::onPausePlaytest @ 0x3689ec
// > LevelEditorLayer::onStopPlaytest @ 0x369258
//
// 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 LevelEditorLayer::quickUpdateAllPositions(LevelEditorLayer *a1)
{
std::vector *, std::allocator *>> *, std::allocator *, std::allocator *>> *>> *p_m_sections; // r8
unsigned int i; // r7
std::vector *, std::allocator *>> *v4; // r2
int v5; // r4
std::vector *, std::allocator *>> *p_m_sectionSizes; // r3
int j; // r5
std::vector *v8; // r11
int v9; // r6
int v10; // r2
GameObject *v11; // r0
int v12; // [sp+0h] [bp-Ch]
std::vector *, std::allocator *>> *v13; // [sp+4h] [bp-8h]
p_m_sections = &a1->m_sections;
for ( i = 0; i < p_m_sections->m_finish - p_m_sections->m_start; ++i )
{
v4 = p_m_sections->m_start[i];
if ( v4 )
v5 = v4->m_finish - v4->m_start;
else
v5 = -1;
p_m_sectionSizes = &a1->m_sectionSizes;
for ( j = 0; j < v5; ++j )
{
v8 = p_m_sections->m_start[i]->m_start[j];
if ( v8 )
{
v9 = 0;
v10 = p_m_sectionSizes->m_start[i]->m_start[j];
while ( v9 < v10 )
{
v12 = v10;
v13 = p_m_sectionSizes;
v11 = v8->m_start[v9++];
GameObject::quickUpdatePosition(v11);
v10 = v12;
p_m_sectionSizes = v13;
}
}
}
}
}