//
// cocos2d::CCMenuItemToggle::create from 0x18005ab30 to 0x18005ab74 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2d30
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCMenuItemToggle *__fastcall cocos2d::CCMenuItemToggle::create()
{
cocos2d::CCMenuItemToggle *v0; // rax
cocos2d::CCMenuItemToggle *v1; // rbx
v0 = (cocos2d::CCMenuItemToggle *)operator new(0x188u);
if ( v0 )
v1 = cocos2d::CCMenuItemToggle::CCMenuItemToggle(v0);
else
v1 = nullptr;
cocos2d::CCMenuItemToggle::initWithItem(v1, nullptr);
cocos2d::CCObject::autorelease(v1);
return v1;
}