//
// LikeItemLayer::create from 0x7eaaf8 to 0x7eac30 (312 bytes)
//
// 4 xrefs:
// > CommentCell::onLike @ 0x60aa7c
// > LevelInfoLayer::onLike @ 0x6d5960
// > LevelListLayer::onLike @ 0xa7279c
// > ??> @ 0xc4f20
//
// 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)
{
__int64 v6; // x19
v6 = operator new(0x290u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_DWORD *)(v6 + 616) = -1;
*(_DWORD *)(v6 + 624) = -1;
*(_QWORD *)(v6 + 544) = 0;
*(_QWORD *)(v6 + 552) = 0;
*(_QWORD *)(v6 + 560) = 0;
*(_BYTE *)(v6 + 568) = 0;
*(_QWORD *)(v6 + 576) = 0;
*(_DWORD *)(v6 + 584) = 0;
*(_BYTE *)(v6 + 588) = 0;
*(_QWORD *)(v6 + 592) = 0;
*(_QWORD *)(v6 + 600) = 0;
*(_QWORD *)(v6 + 608) = 0;
*(_BYTE *)(v6 + 620) = 0;
*(_BYTE *)(v6 + 621) = 0;
*(_BYTE *)(v6 + 628) = 0;
*(_DWORD *)(v6 + 632) = 0;
*(_QWORD *)v6 = &off_1183C90;
*(_QWORD *)(v6 + 320) = off_11841B0;
*(_QWORD *)(v6 + 328) = &off_1184220;
*(_QWORD *)(v6 + 336) = &off_1184238;
*(_QWORD *)(v6 + 344) = &off_1184258;
*(_QWORD *)(v6 + 352) = off_1184278;
*(_QWORD *)(v6 + 408) = &off_11842A0;
*(_QWORD *)(v6 + 432) = &off_1184320;
*(_DWORD *)(v6 + 636) = 0;
*(_DWORD *)(v6 + 640) = 0;
*(_QWORD *)(v6 + 648) = 0;
if ( LikeItemLayer::init((LikeItemLayer *)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return (LikeItemLayer *)v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
}