//
// LikeItemLayer::create from 0x433a7c to 0x433b58 (220 bytes)
//
// 3 xrefs:
// > CommentCell::onLike @ 0x32f6a8
// > LevelInfoLayer::onLike @ 0x3b16f6
// > LevelListLayer::onLike @ 0x58fb4e
//
// 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
//
LikeItemLayer *LikeItemLayer::create(LikeItemType a1, int a2, int a3)
{
LikeItemLayer *v6; // r4
LikeItemLayer_vtbl *v7; // r3
int *v8; // r0
v6 = (LikeItemLayer *)operator new(0x200u);
cocos2d::CCLayerColor::CCLayerColor(v6);
v6->m_controlConnected = -1;
v6->m_joystickConnected = -1;
v6->m_buttonMenu = nullptr;
v6->m_alertProtocol = nullptr;
v6->m_scene = nullptr;
v6->m_reverseKeyBack = 0;
v6->m_mainLayer = nullptr;
v6->m_ZOrder = 0;
v6->m_noElasticity = 0;
v6->m_button1 = nullptr;
v6->m_button2 = nullptr;
v6->m_scrollingLayer = nullptr;
v6->m_containsBorder = 0;
v6->m_noAction = 0;
v6->m_forcePrioRegistered = 0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LikeItemLayer_vtbl *)&off_A63058;
v6->m_itemType = 0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A632E8;
v6->m_itemID = 0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A63320;
v6->m_commentSourceID = 0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A6332C;
v6->m_likeDelegate = nullptr;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A6333C;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A6334C;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A63360;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A633A0;
if ( LikeItemLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
v7 = v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v8 = (int *)v6;
v6 = nullptr;
v7->~LikeItemLayer_0((LikeItemLayer *)v8);
}
return v6;
}