//
// cocos2d::CCToggleVisibility::update from 0x1007ac840 to 0x1007ac870 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x100991fb8
//
// 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::CCToggleVisibility::update(cocos2d::CCToggleVisibility *a1, float a2)
{
cocos2d::CCNode *m_pTarget; // rbx
unsigned __int8 v3; // al
m_pTarget = a1->m_pTarget;
v3 = ((__int64 (__fastcall *)(cocos2d::CCNode *, float))m_pTarget->isVisible)(m_pTarget, a2);
((void (__fastcall *)(cocos2d::CCNode *, _QWORD))m_pTarget->setVisible)(m_pTarget, v3 ^ 1u);
}