//
// GJMGLayer::toggleVisible01 from 0x434e30 to 0x434e4c (28 bytes)
//
// 0 xrefs:
//
// 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::toggleVisible01(GJMGLayer *a1, bool a2)
{
GJMGLayer_vtbl *v2; // r3
void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // r3
if ( a1->m_showGround1 != a2 )
{
v2 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_showGround1 = a2;
setVisible = v2->setVisible;
if ( a2 )
*(_DWORD *)&a2 = a1->m_showGround2;
setVisible(a1, a2);
}
}