//
// LevelEditorLayer::toggleGround from 0x65fccc to 0x65fd00 (52 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::init @ 0x67cba0
// > EditorPauseLayer::toggleEditorGround @ 0x78adcc
// > MapSelectLayer::init @ 0x980930
// > ??> @ 0x41b08
//
// 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 LevelEditorLayer::toggleGround(LevelEditorLayer *a1, bool a2)
{
GJGroundLayer *m_groundLayer; // x2
m_groundLayer = a1->m_groundLayer;
a1->m_hideGround = !a2;
((void (__fastcall *)(GJGroundLayer *))m_groundLayer->setVisible)(m_groundLayer);
}