//
// LevelSettingsLayer::updateGameplayModeButtons from 0x140320f70 to 0x140321034 (196 bytes)
//
// 3 xrefs:
// > LevelSettingsLayer::init @ 0x14031fb40
// > LevelSettingsLayer::onGameplayMode @ 0x140320f5d
// > ??> @ 0x1406d4be0
//
// 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 LevelSettingsLayer::updateGameplayModeButtons(LevelSettingsLayer *a1)
{
ButtonSprite *v2; // rdi
ButtonSprite *v3; // rbp
bool m_platformerMode; // si
const char *v5; // rbx
const char *v6; // rdx
_BOOL8 v7; // rdx
v2 = (ButtonSprite *)a1->m_classicButton->getNormalImage(a1->m_classicButton);
v3 = (ButtonSprite *)a1->m_platformerButton->getNormalImage(a1->m_platformerButton);
m_platformerMode = a1->m_settingsObject->m_platformerMode;
a1->m_classicButton->setEnabled(a1->m_classicButton, m_platformerMode);
v5 = "GJ_button_01.png";
v6 = "GJ_button_01.png";
if ( m_platformerMode )
v6 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v2, v6);
LOBYTE(v7) = !m_platformerMode;
a1->m_platformerButton->setEnabled(a1->m_platformerButton, v7);
if ( !m_platformerMode )
v5 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v3, v5);
}