//
// LevelEditorLayer::resetToggledGroupsAndObjects from 0x660348 to 0x6603b4 (108 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::onPlaytest @ 0x66430c
// > SetGroupIDLayer::onClose @ 0x9749ac
// > ??> @ 0x887b8
//
// 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 LevelEditorLayer::resetToggledGroupsAndObjects(LevelEditorLayer *a1)
{
cocos2d::CCArray *m_objects; // x0
cocos2d::ccArray *data; // x1
GameObject **arr; // x19
GameObject **v5; // x20
GameObject *v6; // x0
m_objects = a1->m_objects;
if ( m_objects )
{
data = m_objects->data;
if ( data->num )
{
arr = (GameObject **)data->arr;
v5 = &arr[data->num - 1];
while ( v5 >= arr )
{
v6 = *arr;
if ( !*arr )
break;
++arr;
GameObject::resetGroupDisabled(v6);
}
}
}
LevelEditorLayer::resetToggledGroups(a1);
}