//
// LikeItemLayer::create from 0x915868 to 0x915a2c (452 bytes)
//
// 5 xrefs:
// > CommentCell::onLike @ 0x735b7c
// > LevelInfoLayer::onLike @ 0x7e54ac
// > LevelListLayer::onLike @ 0xba91d4
// > EditorSoundConfigInfoLayer::onLike @ 0xccce98
// > ??> @ 0x100468
//
// 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 12:57:19 +0000
//
__int64 __fastcall LikeItemLayer::create(int a1, int a2, int a3)
{
__int64 v6; // x19
v6 = operator new(0x2A8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_QWORD *)(v6 + 552) = 0;
*(_QWORD *)v6 = &off_1419A40;
*(_QWORD *)(v6 + 320) = off_1419F90;
*(_QWORD *)(v6 + 328) = &off_141A000;
*(_QWORD *)(v6 + 336) = off_141A018;
*(_QWORD *)(v6 + 344) = off_141A038;
*(_QWORD *)(v6 + 352) = off_141A060;
*(_QWORD *)(v6 + 408) = &off_141A090;
*(_QWORD *)(v6 + 432) = &off_141A110;
*(_QWORD *)(v6 + 544) = off_141A130;
*(_QWORD *)(v6 + 560) = 0;
*(_QWORD *)(v6 + 568) = 0;
*(_BYTE *)(v6 + 576) = 0;
*(_QWORD *)(v6 + 584) = 0;
*(_DWORD *)(v6 + 592) = 0;
*(_BYTE *)(v6 + 596) = 0;
*(_BYTE *)(v6 + 597) = 0;
*(_BYTE *)(v6 + 598) = 0;
*(_BYTE *)(v6 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 600));
*(_DWORD *)(v6 + 632) = -1;
*(_DWORD *)(v6 + 640) = -1;
*(_QWORD *)(v6 + 608) = 0;
*(_QWORD *)(v6 + 616) = 0;
*(_QWORD *)(v6 + 624) = 0;
*(_BYTE *)(v6 + 636) = 0;
*(_BYTE *)(v6 + 637) = 0;
*(_BYTE *)(v6 + 644) = 0;
*(_BYTE *)(v6 + 656) = 0;
*(_DWORD *)(v6 + 648) = 0;
*(_DWORD *)(v6 + 652) = 0;
*(_DWORD *)(v6 + 660) = 0;
*(_QWORD *)v6 = &off_14674B0;
*(_QWORD *)(v6 + 320) = off_1467A00;
*(_QWORD *)(v6 + 328) = &off_1467A70;
*(_QWORD *)(v6 + 336) = off_1467A88;
*(_QWORD *)(v6 + 344) = off_1467AA8;
*(_QWORD *)(v6 + 352) = off_1467AD0;
*(_QWORD *)(v6 + 408) = &off_1467B00;
*(_QWORD *)(v6 + 432) = &off_1467B80;
*(_QWORD *)(v6 + 544) = off_1467BA0;
*(_DWORD *)(v6 + 664) = 0;
*(_DWORD *)(v6 + 668) = 0;
*(_QWORD *)(v6 + 672) = 0;
if ( (unsigned __int8)LikeItemLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return 0;
}
}