//
// LevelSettingsObject::create from 0x1000ac3c0 to 0x1000ac537 (375 bytes)
//
// 5 xrefs:
// > PlayLayer::setupHasCompleted @ 0x10007b3c8
// > LevelEditorLayer::init @ 0x1000aac3d
// > LevelSettingsObject::objectFromDict @ 0x1000da237
// > StartPosObject::create @ 0x10019dfeb
// > StartPosObject::init @ 0x10019e0bb
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:20:18 +0000
//
char *LevelSettingsObject::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x2A0u);
cocos2d::CCNode::CCNode(v0);
*(_QWORD *)v0 = off_100AC4710;
*((_QWORD *)v0 + 40) = 0;
*(_QWORD *)(v0 + 372) = 0;
*((_DWORD *)v0 + 84) = 0;
*((_WORD *)v0 + 170) = 0;
*((_DWORD *)v0 + 86) = 0;
*(_DWORD *)(v0 + 347) = 0;
*((_OWORD *)v0 + 22) = 0;
*(_DWORD *)(v0 + 367) = 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;
*(_QWORD *)(v0 + 458) = 0;
*(_OWORD *)(v0 + 516) = 0;
*(_OWORD *)(v0 + 500) = 0;
*(_OWORD *)(v0 + 484) = 0;
*(_OWORD *)(v0 + 468) = 0;
*(_QWORD *)(v0 + 532) = 0x3F80000000000000LL;
*((_OWORD *)v0 + 34) = 0;
*((_OWORD *)v0 + 35) = 0;
*((_DWORD *)v0 + 144) = 1065353216;
*((_OWORD *)v0 + 37) = 0;
*((_QWORD *)v0 + 73) = v0 + 592;
*(_OWORD *)(v0 + 648) = 0;
*((_OWORD *)v0 + 38) = 0;
*(_OWORD *)(v0 + 620) = 0;
*((_QWORD *)v0 + 80) = v0 + 648;
*((_DWORD *)v0 + 166) = 0;
if ( (unsigned __int8)LevelSettingsObject::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}