//
// EditorPauseLayer::toggleEditorGround from 0x1002940b0 to 0x1002940f7 (71 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::customSetup @ 0x100292f3f
//
// 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 EditorPauseLayer::toggleEditorGround(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v2; // rax
LevelEditorLayer *m_editorLayer; // rbx
GameManager *v4; // rax
bool GameVariable; // al
v2 = GameManager::sharedState();
GameManager::toggleGameVariable(v2, "0037");
m_editorLayer = a1->m_editorLayer;
v4 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v4, "0037");
LevelEditorLayer::toggleGround(m_editorLayer, GameVariable);
}