//
// LevelEditorLayer::resetToggledGroups from 0x1000c1ec0 to 0x1000c1f2e (110 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:20:34 +0000
//
unsigned __int64 __fastcall LevelEditorLayer::resetToggledGroups(__int64 a1)
{
unsigned __int64 result; // rax
unsigned __int64 v2; // rsi
for ( result = 0; result != 10000; result += 2LL )
{
*(_BYTE *)(*(_QWORD *)(a1 + 14640) + result) = 0;
v2 = result >> 6;
*(_QWORD *)(*(_QWORD *)(a1 + 14504) + 8 * v2) &= __ROL8__(-2, result & 0x3E);
*(_BYTE *)(*(_QWORD *)(a1 + 14640) + result + 1) = 0;
*(_QWORD *)(*(_QWORD *)(a1 + 14504) + 8 * v2) &= __ROL8__(-2, (unsigned __int8)result + 1);
}
return result;
}