//
// GJBaseGameLayer::updateAllObjectSection from 0x10029ee50 to 0x10029eeb8 (104 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::levelSettingsUpdated @ 0x1003f92a8
//
// 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 11:02:12 +0000
//
__int64 __fastcall GJBaseGameLayer::updateAllObjectSection(__int64 result)
{
__int64 v1; // x8
unsigned int *v2; // x9
__int64 v3; // x8
__int64 v4; // x19
_QWORD *v5; // x20
unsigned __int64 v6; // x21
v1 = *(_QWORD *)(result + 3280);
if ( v1 )
{
v2 = *(unsigned int **)(v1 + 56);
v3 = *v2;
if ( (_DWORD)v3 )
{
v4 = result;
v5 = *((_QWORD **)v2 + 2);
v6 = (unsigned __int64)&v5[v3 - 1];
do
{
if ( !*v5 )
break;
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1368LL))(v4);
++v5;
}
while ( (unsigned __int64)v5 <= v6 );
}
}
return result;
}