//
// cocos2d::CCSprite::setVisible from 0x100275870 to 0x1002758d3 (99 bytes)
//
// 35 xrefs:
// > CCSpritePart::setVisible @ 0x10035ede0
// > GameObject::setVisible @ 0x10068e225
// > GameObject::setVisible @ 0x10068e23d
// > GameObject::setVisible @ 0x10068e2b4
// > ??> @ 0x100ab7528
// > ??> @ 0x100abb4c8
// > ??> @ 0x100ae1600
// > ??> @ 0x100ae4dd8
// > ??> @ 0x100af6990
// > ??> @ 0x100afa028
// > ??> @ 0x100b0c180
// > ??> @ 0x100b10fb8
// > ??> @ 0x100b131a8
// > ??> @ 0x100b1b000
// > ??> @ 0x100b1c360
// > ??> @ 0x100b1cf18
// > ??> @ 0x100b24048
// > ??> @ 0x100b245e0
// > ??> @ 0x100b25af0
// > ??> @ 0x100b30560
// > ??> @ 0x100b33338
// > ??> @ 0x100b3dc70
// > ??> @ 0x100b46938
// > ??> @ 0x100b46ef8
// > ??> @ 0x100b4c248
// > ??> @ 0x100b59708
// > ??> @ 0x100b87330
// > ??> @ 0x100b878f8
// > ??> @ 0x100b87ec0
// > ??> @ 0x100b8d748
// > ??> @ 0x100b8dd10
// > ??> @ 0x100b990e8
// > ??> @ 0x100ba6e98
// > ??> @ 0x100bac1f0
// > ??> @ 0x100bb97f8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:39 +0000
//
void __fastcall cocos2d::CCSprite::setVisible(__int64 a1, char a2)
{
cocos2d::CCNode::setVisible(a1, a2);
if ( *(_QWORD *)(a1 + 368) && !*(_BYTE *)(a1 + 377) )
{
*(_BYTE *)(a1 + 377) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1200LL))(a1, 1);
if ( *(_BYTE *)(a1 + 378) == 1 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, 1);
}
}