//
// GJGroundLayer::toggleVisible01 from 0x1005eb410 to 0x1005eb446 (54 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateCameraBGArt @ 0x10015bac8
// > GJBaseGameLayer::updateCameraBGArt @ 0x10015baff
//
// 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::toggleVisible01(GJGroundLayer *a1, bool a2)
{
bool v2; // al
if ( a1->m_showGround1 != a2 )
{
a1->m_showGround1 = a2;
v2 = a2 && a1->m_showGround2;
((void (__fastcall *)(GJGroundLayer *, bool))a1->setVisible)(a1, v2);
}
}