//
// LikeItemLayer::create from 0x1404688e0 to 0x1404689ee (270 bytes)
//
// 5 xrefs:
// > CommentCell::onLike @ 0x140154a5e
// > EditorSoundConfigInfoLayer::onLike @ 0x140195b40
// > LevelInfoLayer::onLike @ 0x140424050
// > LevelListLayer::onLike @ 0x14042f9ca
// > ??> @ 0x140927fb0
//
// This function is hookable on this platform (idp: pc, 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 11:32:35 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall LikeItemLayer::create(unsigned int a1, unsigned int a2, unsigned int a3)
{
_QWORD *v6; // r14
v6 = operator new(0x2B0u);
FLAlertLayer::FLAlertLayer((__int64)v6);
*v6 = &LikeItemLayer::`vftable';
v6[40] = &LikeItemLayer::`vftable';
v6[41] = &LikeItemLayer::`vftable';
v6[42] = &LikeItemLayer::`vftable';
v6[43] = &LikeItemLayer::`vftable';
v6[44] = &LikeItemLayer::`vftable';
v6[51] = &LikeItemLayer::`vftable';
v6[54] = &LikeItemLayer::`vftable';
v6[68] = &LikeItemLayer::`vftable';
v6[83] = 0;
*((_DWORD *)v6 + 168) = 0;
v6[85] = 0;
if ( (unsigned __int8)LikeItemLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v6 + 8LL))(v6, 1);
return nullptr;
}
}