//
// cocos2d::CCSprite::setVisible from 0x10028a310 to 0x10028a373 (99 bytes)
//
// 34 xrefs:
// > CCSpritePart::setVisible @ 0x100375910
// > GameObject::setVisible @ 0x1005bcab5
// > GameObject::setVisible @ 0x1005bcacd
// > GameObject::setVisible @ 0x1005bcb44
// > ??> @ 0x1008b3f08
// > ??> @ 0x1008b7ef0
// > ??> @ 0x1008dd2b8
// > ??> @ 0x1008e07e8
// > ??> @ 0x1008f0460
// > ??> @ 0x1008f37f0
// > ??> @ 0x100904be8
// > ??> @ 0x1009097c0
// > ??> @ 0x10090b7f8
// > ??> @ 0x1009132a0
// > ??> @ 0x100914548
// > ??> @ 0x1009150d8
// > ??> @ 0x10091be68
// > ??> @ 0x10091c3f0
// > ??> @ 0x10091d848
// > ??> @ 0x100927e18
// > ??> @ 0x10092ab70
// > ??> @ 0x100934070
// > ??> @ 0x10093c710
// > ??> @ 0x10093ccc0
// > ??> @ 0x100941f50
// > ??> @ 0x10094e668
// > ??> @ 0x100974790
// > ??> @ 0x100974d48
// > ??> @ 0x100975300
// > ??> @ 0x10097a2f0
// > ??> @ 0x10097a8a8
// > ??> @ 0x100985378
// > ??> @ 0x100991760
// > ??> @ 0x100995f88
//
// 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);
}
}