//
// LevelEditorLayer::resetToggledGroupsAndObjects from 0x78c95c to 0x78c9c8 (108 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::onPlaytest @ 0x7965b0
// > SetGroupIDLayer::onClose @ 0xab9310
// > ??> @ 0xb4fa0
//
// 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 12:53:27 +0000
//
__int64 __fastcall LevelEditorLayer::resetToggledGroupsAndObjects(LevelEditorLayer *this)
{
__int64 v2; // x0
unsigned int *v3; // x1
__int64 *v4; // x19
__int64 *v5; // x20
__int64 v6; // x0
v2 = *((_QWORD *)this + 410);
if ( v2 )
{
v3 = *(unsigned int **)(v2 + 56);
if ( *v3 )
{
v4 = *((__int64 **)v3 + 2);
v5 = &v4[*v3 - 1];
while ( v5 >= v4 )
{
v6 = *v4;
if ( !*v4 )
break;
++v4;
GameObject::resetGroupDisabled(v6);
}
}
}
return LevelEditorLayer::resetToggledGroups((__int64)this);
}