//
// cocos2d::CCMenuItemToggle::create from 0xd67588 to 0xd6760c (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x8a4c0
//
// 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:54 +0000
//
__int64 __fastcall cocos2d::CCMenuItemToggle::create(cocos2d::CCMenuItemToggle *this, cocos2d::CCMenuItem *a2)
{
__int64 v2; // x19
v2 = operator new(0x188u);
cocos2d::CCNodeRGBA::CCNodeRGBA((cocos2d::CCNodeRGBA *)v2);
*(_BYTE *)(v2 + 338) = 0;
*(_BYTE *)(v2 + 339) = 0;
*(_QWORD *)(v2 + 344) = 0;
*(_QWORD *)(v2 + 352) = 0;
*(_QWORD *)(v2 + 360) = 0;
*(_DWORD *)(v2 + 368) = 0;
*(_DWORD *)(v2 + 372) = 0;
*(_DWORD *)(v2 + 376) = 0;
*(_QWORD *)(v2 + 384) = 0;
*(_QWORD *)v2 = &off_15263E0;
*(_QWORD *)(v2 + 320) = &off_1526840;
cocos2d::CCMenuItemToggle::initWithItem((cocos2d::CCArray **)v2, this);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}