//
// EditorPauseLayer::toggleEditorGround from 0x10039e168 to 0x10039e1b0 (72 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::customSetup @ 0x10039d498
//
// 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 *v3; // x0
LevelEditorLayer *m_editorLayer; // x19
GameManager *v5; // x0
bool GameVariable; // w1
v3 = GameManager::sharedState();
GameManager::toggleGameVariable(v3, "0037");
m_editorLayer = a1->m_editorLayer;
v5 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v5, "0037");
LevelEditorLayer::toggleGround(m_editorLayer, GameVariable);
}