//
// cocos2d::CCSprite::setVisible from 0xb16db0 to 0xb16e24 (116 bytes)
//
// 37 xrefs:
// > CCSpritePart::setVisible @ 0x576e18
// > GameObject::setVisible @ 0x641094
// > GameObject::setVisible @ 0x641100
// > GameObject::setVisible @ 0x641178
// > GameObject::setVisible @ 0x6411b0
// > ??> @ 0xa4d30
// > ??> @ 0x1136038
// > ??> @ 0x11365e8
// > ??> @ 0x1137368
// > ??> @ 0x11394b8
// > ??> @ 0x113ccc8
// > ??> @ 0x113d2e8
// > ??> @ 0x113e718
// > ??> @ 0x1142c48
// > ??> @ 0x11431e8
// > ??> @ 0x1144b38
// > ??> @ 0x11450d8
// > ??> @ 0x1149518
// > ??> @ 0x1153018
// > ??> @ 0x1159868
// > ??> @ 0x1178e08
// > ??> @ 0x1179398
// > ??> @ 0x1192428
// > ??> @ 0x1194118
// > ??> @ 0x11a0ce8
// > ??> @ 0x11a1288
// > ??> @ 0x11aa808
// > ??> @ 0x11b01c8
// > ??> @ 0x11b24c8
// > ??> @ 0x11d9c28
// > ??> @ 0x11ed4d8
// > ??> @ 0x11f7228
// > ??> @ 0x1201fc8
// > ??> @ 0x1202558
// > ??> @ 0x12030b8
// > ??> @ 0x1218668
// > ??> @ 0x1219c98
//
// 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 cocos2d::CCSprite::setVisible(cocos2d::CCSprite *a1, bool a2)
{
cocos2d::CCSprite_vtbl *v3; // x2
cocos2d::CCNode::setVisible(a1, a2);
if ( a1->m_pobBatchNode && !a1->m_bRecursiveDirty )
{
v3 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_bRecursiveDirty = 1;
v3->setDirty(a1, 1);
if ( a1->m_bHasChildren )
a1->setDirtyRecursively(a1, 1);
}
}