//
// EditLevelLayer::create from 0x1001fa5b0 to 0x1001fa6c1 (273 bytes)
//
// 0 xrefs:
//
// 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
//
EditLevelLayer *__fastcall EditLevelLayer::create(GJGameLevel *a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x208u);
cocos2d::CCLayer::CCLayer(v1);
*(_QWORD *)v1 = off_1008DA380;
*((_QWORD *)v1 + 40) = off_1008DA840;
*((_QWORD *)v1 + 41) = &off_1008DA8B0;
*((_QWORD *)v1 + 42) = off_1008DA8C8;
*((_QWORD *)v1 + 43) = off_1008DA8E8;
*((_QWORD *)v1 + 44) = off_1008DA908;
*((_QWORD *)v1 + 51) = off_1008DA930;
*((_QWORD *)v1 + 52) = &off_1008DA978;
*((_QWORD *)v1 + 53) = off_1008DA990;
*((_QWORD *)v1 + 54) = &off_1008DA9B0;
*((_QWORD *)v1 + 55) = &off_1008DA9C8;
*((_OWORD *)v1 + 28) = 0;
*((_OWORD *)v1 + 29) = 0;
v1[480] = 0;
*(_OWORD *)(v1 + 484) = 0;
*(_OWORD *)(v1 + 500) = 0;
*((_DWORD *)v1 + 129) = 0;
if ( EditLevelLayer::init((EditLevelLayer *)v1, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return (EditLevelLayer *)v1;
}