//
// cocos2d::CCToggleVisibility::update from 0xd2ebfc to 0xd2ec3c (64 bytes)
//
// 2 xrefs:
// > ??> @ 0x7fe70
// > ??> @ 0x1513038
//
// 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 13:07:19 +0000
//
__int64 __fastcall cocos2d::CCToggleVisibility::update(cocos2d::CCToggleVisibility *this, float a2)
{
__int64 v2; // x19
__int64 (__fastcall *v3)(__int64, _QWORD); // x20
unsigned __int8 v4; // w0
v2 = *((_QWORD *)this + 8);
v3 = *(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL);
v4 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v2 + 352LL))(v2, a2);
return v3(v2, v4 ^ 1u);
}