//
// GJGroundLayer::toggleVisible02 from 0x43427c to 0x43429c (32 bytes)
//
// 4 xrefs:
// > PlayLayer::toggleGroundVisibility @ 0x30ee14
// > PlayLayer::toggleGroundVisibility @ 0x30ee22
// > GJBaseGameLayer::resetLevelVariables @ 0x491e76
// > GJBaseGameLayer::resetLevelVariables @ 0x491e82
//
// 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 GJGroundLayer::toggleVisible02(GJGroundLayer *a1, bool a2)
{
GJGroundLayer_vtbl *v2; // r2
if ( a1->m_showGround2 != a2 )
{
v2 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_showGround2 = a2;
((void (*)(void))v2->setVisible)();
}
}