//
// GJMGLayer::toggleVisible02 from 0x434e4c to 0x434e6c (32 bytes)
//
// 1 xrefs:
// > PlayLayer::toggleMGVisibility @ 0x30ee2c
//
// 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 GJMGLayer::toggleVisible02(GJMGLayer *a1, bool a2)
{
GJMGLayer_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)();
}
}