// // GameLevelOptionsLayer::setupOptions from 0x4b52ec to 0x4b5378 (140 bytes) // // 0 xrefs: // // 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; // r3 int v3; // r0 int v4; // r5 int v5; // r0 m_level = a1->m_level; if ( m_level ) { GJOptionsLayer::addToggle(a1, "Low Detail Mode", 1, m_level->m_lowDetailModeToggled, (const char *)&unk_939830); GJOptionsLayer::addToggle(a1, "Disable Shake", 2, a1->m_level->m_disableShakeToggled, (const char *)&unk_939830); 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 + 309) = 1; *(_BYTE *)(v5 + 309) = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source