//
// GJBaseGameLayer::updateAllObjectSection from 0x100158ef0 to 0x100158f48 (88 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::levelSettingsUpdated @ 0x1000def97
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::updateAllObjectSection(GJBaseGameLayer *a1)
{
cocos2d::CCArray *m_objects; // rax
cocos2d::ccArray *data; // rax
cocos2d::CCObject **arr; // r14
unsigned __int64 v4; // r15
m_objects = a1->m_objects;
if ( m_objects )
{
data = m_objects->data;
if ( data->num )
{
arr = data->arr;
v4 = (unsigned __int64)&arr[data->num - 1];
do
{
if ( !*arr )
break;
((void (__fastcall *)(GJBaseGameLayer *))a1->updateObjectSection)(a1);
++arr;
}
while ( (unsigned __int64)arr <= v4 );
}
}
}