//
// LevelControlConfig::keepClasses from 0x799ae8 to 0x799b1c (52 bytes)
//
// 1 xrefs:
// > GJGameLevel::shippedControls @ 0x4af99e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:48 +0000
//
void __fastcall LevelControlConfig::keepClasses(LevelControlConfig *this, char a2)
{
int v4; // r2
int v5; // r3
if ( (a2 & 1) == 0 )
KeybindSet::clear((LevelControlConfig *)((char *)this + 68));
if ( (a2 & 2) == 0 )
{
v4 = *((_DWORD *)this + 27);
while ( 1 )
{
v5 = *((_DWORD *)this + 28);
if ( v4 == v5 )
break;
*((_DWORD *)this + 28) = v5 - 60;
}
}
if ( (a2 & 4) == 0 )
KeybindSet::clear((LevelControlConfig *)((char *)this + 88));
}