//
// LevelEditorLayer::toggleGround from 0x1000dec60 to 0x1000dec82 (34 bytes)
//
// 2 xrefs:
// > MapSelectLayer::init @ 0x1002684f3
// > EditorPauseLayer::toggleEditorGround @ 0x1002940f2
//
// 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 LevelEditorLayer::toggleGround(LevelEditorLayer *a1, bool a2)
{
a1->m_hideGround = !a2;
((void (__fastcall *)(GJGroundLayer *))a1->m_groundLayer->setVisible)(a1->m_groundLayer);
}