//
// GJGroundLayer::toggleVisible02 from 0x10002c294 to 0x10002c2bc (40 bytes)
//
// 4 xrefs:
// > PlayLayer::toggleGroundVisibility @ 0x10011e87c
// > PlayLayer::toggleGroundVisibility @ 0x10011e890
// > GJBaseGameLayer::resetLevelVariables @ 0x1002026c4
// > GJBaseGameLayer::resetLevelVariables @ 0x1002026d0
//
// 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);
}
}