//
// LikeItemLayer::create from 0x545210 to 0x54536e (350 bytes)
//
// 4 xrefs:
// > CommentCell::onLike @ 0x4245f8
// > LevelInfoLayer::onLike @ 0x499e70
// > LevelListLayer::onLike @ 0x6d4dae
// > EditorSoundConfigInfoLayer::onLike @ 0x784ccc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:22 +0000
//
int __fastcall LikeItemLayer::create(int a1, int a2, int a3)
{
int v6; // r4
int v7; // r3
int v8; // r0
v6 = operator new(0x218u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_DWORD *)(v6 + 444) = 0;
*(_DWORD *)(v6 + 448) = 0;
*(_DWORD *)(v6 + 452) = 0;
*(_DWORD *)v6 = &off_C86768;
*(_BYTE *)(v6 + 456) = 0;
*(_DWORD *)(v6 + 264) = &off_C86A10;
*(_DWORD *)(v6 + 460) = 0;
*(_DWORD *)(v6 + 268) = &off_C86A48;
*(_DWORD *)(v6 + 464) = 0;
*(_DWORD *)(v6 + 272) = &off_C86A54;
*(_BYTE *)(v6 + 468) = 0;
*(_DWORD *)(v6 + 276) = &off_C86A64;
*(_BYTE *)(v6 + 469) = 0;
*(_DWORD *)(v6 + 280) = &off_C86A78;
*(_BYTE *)(v6 + 470) = 0;
*(_DWORD *)(v6 + 316) = &off_C86A90;
*(_BYTE *)(v6 + 471) = 0;
*(_DWORD *)(v6 + 332) = &off_C86AD0;
*(_DWORD *)(v6 + 440) = &off_C86AE0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 472));
*(_DWORD *)(v6 + 492) = -1;
*(_DWORD *)(v6 + 500) = -1;
*(_DWORD *)(v6 + 508) = 0;
*(_DWORD *)(v6 + 512) = 0;
*(_DWORD *)(v6 + 480) = 0;
*(_DWORD *)(v6 + 484) = 0;
*(_DWORD *)(v6 + 488) = 0;
*(_BYTE *)(v6 + 496) = 0;
*(_BYTE *)(v6 + 497) = 0;
*(_BYTE *)(v6 + 504) = 0;
*(_BYTE *)(v6 + 516) = 0;
*(_DWORD *)v6 = &off_CAD660;
*(_DWORD *)(v6 + 520) = 0;
*(_DWORD *)(v6 + 264) = &off_CAD908;
*(_DWORD *)(v6 + 524) = 0;
*(_DWORD *)(v6 + 268) = &off_CAD940;
*(_DWORD *)(v6 + 528) = 0;
*(_DWORD *)(v6 + 272) = &off_CAD94C;
*(_DWORD *)(v6 + 532) = 0;
*(_DWORD *)(v6 + 276) = &off_CAD95C;
*(_DWORD *)(v6 + 280) = &off_CAD970;
*(_DWORD *)(v6 + 316) = &off_CAD988;
*(_DWORD *)(v6 + 332) = &off_CAD9C8;
*(_DWORD *)(v6 + 440) = &off_CAD9D8;
if ( LikeItemLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v7 = *(_DWORD *)v6;
v8 = v6;
v6 = 0;
(*(void (__fastcall **)(int))(v7 + 8))(v8);
}
return v6;
}