//
// LevelSettingsObject::create from 0x1000dd490 to 0x1000dd56c (220 bytes)
//
// 3 xrefs:
// > PlayLayer::setupHasCompleted @ 0x1000ade17
// > StartPosObject::create @ 0x1001bd89b
// > StartPosObject::init @ 0x1001bd96b
//
// 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; // rbx
v0 = (char *)operator new(0x1D0u);
cocos2d::CCNode::CCNode(v0);
*(_QWORD *)v0 = off_1008C0F30;
*((_QWORD *)v0 + 40) = 0;
*((_DWORD *)v0 + 84) = 0;
*((_WORD *)v0 + 170) = 0;
*((_DWORD *)v0 + 86) = 0;
*(_DWORD *)(v0 + 347) = 0;
*((_OWORD *)v0 + 22) = 0;
*(_OWORD *)(v0 + 364) = 0;
*((_OWORD *)v0 + 24) = 0;
*((_OWORD *)v0 + 25) = 0;
v0[416] = 0;
*(_QWORD *)(v0 + 420) = 0;
*(_DWORD *)(v0 + 427) = 0;
*((_QWORD *)v0 + 54) = 0;
v0[440] = 0;
*(_OWORD *)(v0 + 444) = 0;
v0[460] = 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;
}