//
// cocos2d::CCToggleVisibility::create from 0x180030090 to 0x1800300e0 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b00e4
// > ??> @ 0x1801b00f0
//
// 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
//
struct cocos2d::CCToggleVisibility *__fastcall cocos2d::CCToggleVisibility::create()
{
cocos2d::CCAction *v0; // rax
cocos2d::CCObject *v1; // rbx
v0 = (cocos2d::CCAction *)operator new(0x58u);
v1 = v0;
if ( v0 )
{
cocos2d::CCAction::CCAction(v0);
v1[1].m_uAutoReleaseCount = 0;
v1->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCToggleVisibility::`vftable';
}
else
{
v1 = nullptr;
}
if ( v1 )
cocos2d::CCObject::autorelease(v1);
return (struct cocos2d::CCToggleVisibility *)v1;
}