//
// GJBaseGameLayer::updateAllObjectSection from 0x866960 to 0x8669dc (124 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::levelSettingsUpdated @ 0x66bec0
// > ??> @ 0x90348
//
// 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 GJBaseGameLayer::updateAllObjectSection(GJBaseGameLayer *a1)
{
cocos2d::CCArray *m_objects; // x1
cocos2d::ccArray *data; // x2
cocos2d::CCObject **arr; // x19
cocos2d::CCObject **v4; // x21
m_objects = a1->m_objects;
if ( m_objects )
{
data = m_objects->data;
if ( data->num )
{
arr = data->arr;
v4 = &arr[data->num - 1];
if ( arr <= v4 )
{
if ( *arr )
{
do
{
++arr;
((void (__fastcall *)(GJBaseGameLayer *))a1->updateObjectSection)(a1);
}
while ( v4 >= arr && *arr );
}
}
}
}
}