//
// GJGroundLayer::toggleVisible02 from 0x1005eb450 to 0x1005eb47e (46 bytes)
//
// 4 xrefs:
// > PlayLayer::toggleGroundVisibility @ 0x1000b9d13
// > PlayLayer::toggleGroundVisibility @ 0x1000b9d25
// > GJBaseGameLayer::resetLevelVariables @ 0x1001598d5
// > GJBaseGameLayer::resetLevelVariables @ 0x1001598e6
//
// 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 GJGroundLayer::toggleVisible02(GJGroundLayer *a1, bool a2)
{
if ( a1->m_showGround2 != a2 )
{
a1->m_showGround2 = a2;
((void (__fastcall *)(GJGroundLayer *, bool))a1->setVisible)(a1, a1->m_showGround1 && a2);
}
}