//
// sub_1402BA3D0 from 0x1402ba3d0 to 0x1402ba450 (128 bytes)
//
// 2 xrefs:
// > ??> @ 0x140580b50
// > ??> @ 0x1406d2798
//
// 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
//
cocos2d::CCMenuItemSprite *__fastcall sub_1402BA3D0(cocos2d::CCMenuItemSprite *Block, char a2)
{
sub_14003A830((__int64)&Block[1].m_sTransform.b);
sub_14003A830((__int64)&Block[1].m_obContentSize.height);
Block->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCMenuItemSprite_vtbl *)&CCMenuItemSpriteExtra::`vftable';
Block->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&CCMenuItemSpriteExtra::`vftable';
sub_14003A830((__int64)&Block[1].m_unknown2);
sub_14003A830((__int64)&Block[1].m_uID);
cocos2d::CCMenuItemSprite::~CCMenuItemSprite(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}