//
// GJBaseGameLayer::updateAllObjectSection from 0x596478 to 0x5964ac (52 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::levelSettingsUpdated @ 0x469fd6
//
// 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:53:09 +0000
//
int __fastcall GJBaseGameLayer::updateAllObjectSection(int this)
{
int v1; // r6
int v2; // r3
_DWORD *v3; // r2
_DWORD *v4; // r5
_DWORD *v5; // r4
v1 = this;
v2 = *(_DWORD *)(this + 2088);
if ( v2 )
{
v3 = *(_DWORD **)(v2 + 52);
if ( *v3 )
{
v4 = (_DWORD *)v3[3];
v5 = &v4[*v3 - 1];
while ( v4 <= v5 )
{
if ( !*v4++ )
break;
this = (*(int (__fastcall **)(int))(*(_DWORD *)v1 + 684))(v1);
}
}
}
return this;
}