//
// LevelControlConfig::create from 0xcf1efc to 0xcf2010 (276 bytes)
//
// 5 xrefs:
// > LevelBindingsLayer::onCopy @ 0xcf142c
// > LevelControlConfig::createFromGlobal @ 0xcf3ccc
// > LevelControlConfig::createFromB64 @ 0xcf65a4
// > PlatformerControlsPopup::ensureCustomDraft @ 0xcfa3b4
// > ??> @ 0x9b050
//
// This function is hookable on this platform (idp: arm, 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 13:06:46 +0000
//
__int64 __fastcall LevelControlConfig::create(LevelControlConfig *this)
{
__int64 v1; // x19
v1 = operator new(0xB0u);
*(_QWORD *)v1 = 0;
*(_QWORD *)(v1 + 8) = 0;
*(_QWORD *)(v1 + 16) = 0;
*(_QWORD *)(v1 + 24) = 0;
*(_QWORD *)(v1 + 32) = 0;
*(_QWORD *)(v1 + 40) = 0;
*(_QWORD *)(v1 + 48) = 0;
*(_QWORD *)(v1 + 56) = 0;
*(_QWORD *)(v1 + 64) = 0;
*(_QWORD *)(v1 + 72) = 0;
*(_QWORD *)(v1 + 80) = 0;
*(_QWORD *)(v1 + 88) = 0;
*(_QWORD *)(v1 + 96) = 0;
*(_QWORD *)(v1 + 104) = 0;
*(_QWORD *)(v1 + 112) = 0;
*(_QWORD *)(v1 + 120) = 0;
*(_QWORD *)(v1 + 128) = 0;
*(_QWORD *)(v1 + 136) = 0;
*(_QWORD *)(v1 + 144) = 0;
*(_QWORD *)(v1 + 152) = 0;
*(_QWORD *)(v1 + 160) = 0;
*(_QWORD *)(v1 + 168) = 0;
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v1);
*(_DWORD *)(v1 + 56) = 1;
*(_QWORD *)v1 = &off_15044A0;
*(_DWORD *)(v1 + 68) = 0;
*(_DWORD *)(v1 + 60) = 0;
*(_DWORD *)(v1 + 64) = 0;
*(_QWORD *)(v1 + 88) = 0;
*(_QWORD *)(v1 + 96) = 0;
*(_QWORD *)(v1 + 72) = off_1504450;
*(_QWORD *)(v1 + 80) = v1 + 88;
*(_BYTE *)(v1 + 104) = 0;
*(_QWORD *)(v1 + 112) = off_1504450;
*(_QWORD *)(v1 + 128) = 0;
*(_QWORD *)(v1 + 136) = 0;
*(_QWORD *)(v1 + 120) = v1 + 128;
*(_BYTE *)(v1 + 144) = 0;
*(_QWORD *)(v1 + 152) = 0;
*(_QWORD *)(v1 + 160) = 0;
*(_QWORD *)(v1 + 168) = 0;
if ( (unsigned __int8)LevelControlConfig::init((LevelControlConfig *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}