//
// LevelSettingsLayer::create from 0x100179224 to 0x100179294 (112 bytes)
//
// 2 xrefs:
// > EditorUI::onSettings @ 0x1003e4628
// > EditorUI::editObject @ 0x1003e4abc
//
// 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
//
LevelSettingsLayer *__fastcall LevelSettingsLayer::create(LevelSettingsObject *a1, LevelEditorLayer *a2)
{
LevelSettingsLayer *v4; // x19
v4 = (LevelSettingsLayer *)operator new(0x370u);
sub_10017E064();
if ( LevelSettingsLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(LevelSettingsLayer *))v4->~LevelSettingsLayer_0)(v4);
return nullptr;
}
return v4;
}