//
// GameLevelOptionsLayer::setupOptions from 0x8dc448 to 0x8dc514 (204 bytes)
//
// 2 xrefs:
// > ??> @ 0x2c868
// > ??> @ 0x119e0e0
//
// 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 GameLevelOptionsLayer::setupOptions(GameLevelOptionsLayer *a1)
{
GJGameLevel *m_level; // x1
__int64 v3; // x0
__int64 v4; // x20
__int64 v5; // x0
m_level = a1->m_level;
if ( m_level )
{
GJOptionsLayer::addToggle(a1, "Low Detail Mode", 1, m_level->m_lowDetailModeToggled, &byte_F288A0);
GJOptionsLayer::addToggle(a1, "Disable Shake", 2, a1->m_level->m_disableShakeToggled, &byte_F288A0);
GJOptionsLayer::addToggle(
a1,
"Enable CBS",
3,
a1->m_level->m_cbsOverride == 1,
"Force enable Click Between Steps on this level regardless of the global setting.");
v4 = v3;
GJOptionsLayer::addToggle(
a1,
"Disable CBS",
4,
a1->m_level->m_cbsOverride == 2,
"Force disable Click Between Steps on this level regardless of the global setting.");
*(_BYTE *)(v4 + 393) = 1;
*(_BYTE *)(v5 + 393) = 1;
}
}