//
// cocos2d::CCSprite::setVisible from 0x100239074 to 0x1002390e8 (116 bytes)
//
// 31 xrefs:
// > CCSpritePart::setVisible @ 0x10007f790
// > GameObject::setVisible @ 0x10025bd48
// > GameObject::setVisible @ 0x10025bd60
// > GameObject::setVisible @ 0x10025bd8c
// > ??> @ 0x100763408
// > ??> @ 0x100773538
// > ??> @ 0x100773e70
// > ??> @ 0x100774fd8
// > ??> @ 0x100777b88
// > ??> @ 0x10077b328
// > ??> @ 0x100785b78
// > ??> @ 0x100790918
// > ??> @ 0x100799708
// > ??> @ 0x1007acb60
// > ??> @ 0x1007ad118
// > ??> @ 0x1007b30d0
// > ??> @ 0x1007b8b90
// > ??> @ 0x1007b9ce0
// > ??> @ 0x1007c4538
// > ??> @ 0x1007c7440
// > ??> @ 0x1007c7f20
// > ??> @ 0x1007c9740
// > ??> @ 0x1007c9cf8
// > ??> @ 0x1007e5190
// > ??> @ 0x1007ea1b8
// > ??> @ 0x1007ea770
// > ??> @ 0x1007ec3a0
// > ??> @ 0x1007ec928
// > ??> @ 0x1007ef750
// > ??> @ 0x10080acd8
// > ??> @ 0x100810ce8
//
// 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 cocos2d::CCSprite::setVisible(cocos2d::CCSprite *a1, bool a2)
{
cocos2d::CCNode::setVisible(a1, a2);
if ( a1->m_pobBatchNode && !a1->m_bRecursiveDirty )
{
a1->m_bRecursiveDirty = 1;
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirty)(a1, 1);
if ( a1->m_bHasChildren )
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirtyRecursively)(a1, 1);
}
}