//
// EditLevelLayer::create from 0x7f1834 to 0x7f1968 (308 bytes)
//
// 2 xrefs:
// > EditLevelLayer::scene @ 0x7f198c
// > ??> @ 0x74968
//
// 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:54:35 +0000
//
__int64 __fastcall EditLevelLayer::create(EditLevelLayer *this, GJGameLevel *a2)
{
__int64 v3; // x19
v3 = operator new(0x248u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v3);
*(_QWORD *)(v3 + 464) = 0;
*(_QWORD *)v3 = &off_143C4B0;
*(_QWORD *)(v3 + 320) = off_143C990;
*(_QWORD *)(v3 + 328) = &off_143CA00;
*(_QWORD *)(v3 + 336) = off_143CA18;
*(_QWORD *)(v3 + 344) = off_143CA38;
*(_QWORD *)(v3 + 352) = off_143CA60;
*(_QWORD *)(v3 + 408) = off_143CA90;
*(_QWORD *)(v3 + 416) = &off_143CAD8;
*(_QWORD *)(v3 + 424) = off_143CAF0;
*(_QWORD *)(v3 + 432) = &off_143CB10;
*(_QWORD *)(v3 + 472) = 0;
*(_QWORD *)(v3 + 480) = 0;
*(_QWORD *)(v3 + 440) = &off_143CB28;
*(_QWORD *)(v3 + 448) = off_143CB40;
*(_QWORD *)(v3 + 456) = &off_143CB68;
*(_QWORD *)(v3 + 488) = 0;
*(_BYTE *)(v3 + 496) = 0;
*(_DWORD *)(v3 + 500) = 0;
*(_QWORD *)(v3 + 504) = 0;
*(_QWORD *)(v3 + 512) = 0;
*(_QWORD *)(v3 + 520) = 0;
*(_QWORD *)(v3 + 528) = 0;
*(_BYTE *)(v3 + 536) = 0;
*(_QWORD *)(v3 + 544) = 0;
*(_QWORD *)(v3 + 552) = 0;
*(_QWORD *)(v3 + 560) = 0;
*(_QWORD *)(v3 + 568) = 0;
*(_QWORD *)(v3 + 576) = 0;
if ( (unsigned __int8)EditLevelLayer::init((EditLevelLayer *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
return 0;
}
}