//
// cocos2d::CCToggleVisibility::update from 0xabcef4 to 0xabcf34 (64 bytes)
//
// 2 xrefs:
// > ??> @ 0x5d798
// > ??> @ 0x11fd728
//
// 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::CCToggleVisibility::update(cocos2d::CCToggleVisibility *a1, float a2)
{
cocos2d::CCNode *m_pTarget; // x19
void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // x20
char v4; // w0
m_pTarget = a1->m_pTarget;
setVisible = m_pTarget->setVisible;
v4 = ((__int64 (__fastcall *)(cocos2d::CCNode *, float))m_pTarget->isVisible)(m_pTarget, a2);
setVisible(m_pTarget, v4 != 1);
}