//
// LevelEditorLayer::resetToggledGroups from 0x78c91c to 0x78c95c (64 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::resetToggledGroupsAndObjects @ 0x78c9c4
// > LevelEditorLayer::updateEditorMode @ 0x78dcd4
// > LevelEditorLayer::onStopPlaytest @ 0x78e04c
// > ??> @ 0x85f60
//
// 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::resetToggledGroups(__int64 this)
{
unsigned __int64 i; // x1
unsigned __int64 v2; // x4
__int64 v3; // x2
for ( i = 0; i != 10000; ++i )
{
v2 = i >> 6;
v3 = 1LL << (i & 0x3F);
*(_BYTE *)(*(_QWORD *)(this + 14640) + i) = 0;
*(_QWORD *)(*(_QWORD *)(this + 14504) + 8 * v2) &= ~v3;
}
return this;
}