//
// cocos2d::CCSprite::setVisible from 0x1002d5a84 to 0x1002d5af8 (116 bytes)
//
// 32 xrefs:
// > CCSpritePart::setVisible @ 0x100087f3c
// > GameObject::setVisible @ 0x1002f8f4c
// > GameObject::setVisible @ 0x1002f8f64
// > GameObject::setVisible @ 0x1002f8f90
// > ??> @ 0x1008ae9c8
// > ??> @ 0x1008bfec8
// > ??> @ 0x1008c0820
// > ??> @ 0x1008c1a30
// > ??> @ 0x1008c3ff8
// > ??> @ 0x1008c7a48
// > ??> @ 0x1008d42b8
// > ??> @ 0x1008dfdc0
// > ??> @ 0x1008eeb30
// > ??> @ 0x100903ea8
// > ??> @ 0x100904470
// > ??> @ 0x10090a868
// > ??> @ 0x100910698
// > ??> @ 0x1009118a8
// > ??> @ 0x10091ca68
// > ??> @ 0x10091fa70
// > ??> @ 0x100920570
// > ??> @ 0x100921df0
// > ??> @ 0x1009223b8
// > ??> @ 0x10093ca98
// > ??> @ 0x1009422e0
// > ??> @ 0x1009428a8
// > ??> @ 0x1009445d8
// > ??> @ 0x100944b70
// > ??> @ 0x100947ae0
// > ??> @ 0x1009639f8
// > ??> @ 0x100969e10
// > ??> @ 0x10098c7f8
//
// This function is hookable on this platform (idp: arm, 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 11:02:40 +0000
//
__int64 __fastcall cocos2d::CCSprite::setVisible(__int64 a1)
{
__int64 result; // x0
result = cocos2d::CCNode::setVisible();
if ( *(_QWORD *)(a1 + 368) && (*(_BYTE *)(a1 + 377) & 1) == 0 )
{
*(_BYTE *)(a1 + 377) = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1200LL))(a1, 1);
if ( *(_BYTE *)(a1 + 378) == 1 )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, 1);
}
return result;
}