//
// LikeItemLayer::create from 0x14032dd60 to 0x14032de5a (250 bytes)
//
// 5 xrefs:
// > CommentCell::onLike @ 0x1400b7f2e
// > LevelInfoLayer::onLike @ 0x1402fe959
// > LevelListLayer::onLike @ 0x140307b23
// > ??> @ 0x1406d4f40
// > ??> @ 0x1406d4f4c
//
// 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
LikeItemLayer *LikeItemLayer::create(LikeItemType a1, int a2, int a3)
{
LikeItemLayer *v6; // r14
v6 = (LikeItemLayer *)operator new(0x290u);
FLAlertLayer::FLAlertLayer(v6);
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LikeItemLayer_vtbl *)&LikeItemLayer::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&LikeItemLayer::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&LikeItemLayer::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&LikeItemLayer::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&LikeItemLayer::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&LikeItemLayer::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&LikeItemLayer::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&LikeItemLayer::`vftable';
*(_QWORD *)&v6->m_itemType = 0;
v6->m_commentSourceID = 0;
v6->m_likeDelegate = nullptr;
if ( LikeItemLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
((void (__fastcall *)(LikeItemLayer *, __int64))v6->~LikeItemLayer)(v6, 1);
return nullptr;
}
}