// // EditorUI::onSettings from 0x1003e45f4 to 0x1003e4664 (112 bytes) // // 1 xrefs: // > EditorUI::init @ 0x1003c6068 // // 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 __fastcall EditorUI::onSettings(EditorUI *a1, cocos2d::CCObject *a2) { LevelEditorLayer *m_editorLayer; // x1 GJGameLevel *m_level; // x8 LevelSettingsLayer *v5; // x0 LevelEditorLayer *v6; // x8 LevelSettingsDelegate *v7; // x8 if ( !a1->m_isPaused ) { m_editorLayer = a1->m_editorLayer; m_level = m_editorLayer->m_level; if ( !m_level || m_level->m_levelType == Editor ) { v5 = LevelSettingsLayer::create(m_editorLayer->m_levelSettings, m_editorLayer); v6 = a1->m_editorLayer; if ( v6 ) v7 = &v6->LevelSettingsDelegate; else v7 = nullptr; v5->m_delegate = v7; ((void (__fastcall *)(LevelSettingsLayer *))v5->show)(v5); } } }