//
// LevelSettingsLayer::onMode from 0x140321100 to 0x140321158 (88 bytes)
//
// 2 xrefs:
// > LevelSettingsLayer::init @ 0x140320cc1
// > ??> @ 0x1406d4c04
//
// 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::onMode(LevelSettingsLayer *a1, cocos2d::CCObject *a2)
{
SelectSettingLayer *v3; // rax
SelectSettingDelegate *v4; // rdx
v3 = SelectSettingLayer::create(
(SelectSettingType)a1->m_settingsObject->m_platformerMode,
a1->m_settingsObject->m_startMode);
v4 = &a1->SelectSettingDelegate;
if ( !a1 )
v4 = nullptr;
v3->m_delegate = v4;
v3->show(v3);
}