//
// GJBaseGameLayer::updateAllObjectSection from 0x9a906c to 0x9a90e8 (124 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::levelSettingsUpdated @ 0x799aa0
// > ??> @ 0xbed38
//
// 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:58:11 +0000
//
__int64 __fastcall GJBaseGameLayer::updateAllObjectSection(__int64 this)
{
__int64 v1; // x1
unsigned int *v2; // x2
_QWORD *v3; // x19
_QWORD *v4; // x21
__int64 v5; // x20
v1 = *(_QWORD *)(this + 3280);
if ( v1 )
{
v2 = *(unsigned int **)(v1 + 56);
if ( *v2 )
{
v3 = *((_QWORD **)v2 + 2);
v4 = &v3[*v2 - 1];
if ( v3 <= v4 )
{
v5 = this;
if ( *v3 )
{
do
{
++v3;
this = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1368LL))(v5);
}
while ( v4 >= v3 && *v3 );
}
}
}
}
return this;
}