//
// GJBaseGameLayer::updateAllObjectSection from 0x100138380 to 0x1001383d8 (88 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::levelSettingsUpdated @ 0x1000ae737
//
// This function is hookable on this platform (idp: pc, 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:24:51 +0000
//
unsigned int *__fastcall GJBaseGameLayer::updateAllObjectSection(_QWORD *a1)
{
unsigned int *result; // rax
_QWORD *v2; // r14
unsigned __int64 v3; // r15
result = (unsigned int *)a1[410];
if ( result )
{
result = *((unsigned int **)result + 7);
if ( *result )
{
v2 = *((_QWORD **)result + 2);
v3 = (unsigned __int64)&v2[*result - 1];
do
{
if ( !*v2 )
break;
result = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD *))(*a1 + 1368LL))(a1);
++v2;
}
while ( (unsigned __int64)v2 <= v3 );
}
}
return result;
}