//
// LevelSettingsObject::create from 0x1003581dc to 0x100358298 (188 bytes)
//
// 4 xrefs:
// > PlayLayer::setupHasCompleted @ 0x10011698c
// > LevelEditorLayer::init @ 0x1003574dc
// > LevelSettingsObject::objectFromDict @ 0x10036ad38
// > StartPosObject::init @ 0x1003876ec
//
// 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
//
LevelSettingsObject *__fastcall LevelSettingsObject::create()
{
char *v0; // x19
v0 = (char *)operator new(0x1D0u);
cocos2d::CCNode::CCNode((__int64)v0);
*(_QWORD *)v0 = off_1007F4BA0;
*((_QWORD *)v0 + 40) = 0;
*((_DWORD *)v0 + 84) = 0;
*((_WORD *)v0 + 170) = 0;
*((_DWORD *)v0 + 86) = 0;
*(_DWORD *)(v0 + 347) = 0;
*((_QWORD *)v0 + 45) = 0;
*((_QWORD *)v0 + 46) = 0;
*((_QWORD *)v0 + 44) = 0;
*((_DWORD *)v0 + 94) = 0;
*((_OWORD *)v0 + 24) = 0u;
*((_OWORD *)v0 + 25) = 0u;
v0[416] = 0;
*(_QWORD *)(v0 + 420) = 0;
*(_DWORD *)(v0 + 427) = 0;
*((_QWORD *)v0 + 54) = 0;
v0[440] = 0;
v0[460] = 0;
*(_QWORD *)(v0 + 452) = 0;
*(_QWORD *)(v0 + 444) = 0;
if ( LevelSettingsObject::init((LevelSettingsObject *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (LevelSettingsObject *)v0;
}