//
// CustomizeObjectLayer::create from 0x10004d4c4 to 0x10004d534 (112 bytes)
//
// 2 xrefs:
// > CustomizeObjectLayer::recreateLayer @ 0x100050440
// > EditorUI::editObject @ 0x1003e4bbc
//
// 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
//
CustomizeObjectLayer *__fastcall CustomizeObjectLayer::create(GameObject *a1, cocos2d::CCArray *a2)
{
CustomizeObjectLayer *v4; // x19
v4 = (CustomizeObjectLayer *)operator new(0x388u);
sub_10005110C();
if ( CustomizeObjectLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(CustomizeObjectLayer *))v4->~CustomizeObjectLayer_0)(v4);
return nullptr;
}
return v4;
}