//
// LevelEditorLayer::quickUpdateAllPositions from 0x78d294 to 0x78d38c (248 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::onPausePlaytest @ 0x78d3cc
// > LevelEditorLayer::onStopPlaytest @ 0x78de04
// > ??> @ 0x809c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:27 +0000
//
__int64 __fastcall LevelEditorLayer::quickUpdateAllPositions(LevelEditorLayer *this)
{
unsigned __int64 v2; // x25
__int64 v3; // x19
__int64 v4; // x2
__int64 result; // x0
_QWORD *v6; // x1
__int64 v7; // x0
__int64 v8; // x21
__int64 v9; // x23
_QWORD *v10; // x26
int v11; // w20
__int64 v12; // x19
__int64 v13; // x20
GameObject *v14; // x0
v2 = 0;
v3 = *((_QWORD *)this + 1671);
v4 = *((_QWORD *)this + 1672);
result = (v4 - v3) >> 3;
if ( result )
{
do
{
v6 = *(_QWORD **)(v3 + 8 * v2);
if ( v6 )
{
v7 = (__int64)(v6[1] - *v6) >> 3;
if ( (int)v7 > 0 )
{
v8 = 0;
v9 = 4 * ((unsigned int)(v7 - 1) + 1LL);
do
{
v10 = *(_QWORD **)(**(_QWORD **)(v3 + 8 * v2) + 2 * v8);
if ( v10 )
{
v11 = *(_DWORD *)(**(_QWORD **)(*((_QWORD *)this + 1692) + 8 * v2) + v8);
if ( v11 > 0 )
{
v12 = 0;
v13 = 8 * ((unsigned int)(v11 - 1) + 1LL);
do
{
v14 = *(GameObject **)(*v10 + v12);
v12 += 8;
GameObject::quickUpdatePosition(v14);
}
while ( v12 != v13 );
v3 = *((_QWORD *)this + 1671);
}
}
v8 += 4;
}
while ( v8 != v9 );
v4 = *((_QWORD *)this + 1672);
}
}
result = v4 - v3;
++v2;
}
while ( v2 < (v4 - v3) >> 3 );
}
return result;
}