//
// LevelSettingsObject::dLevelSettingsObject from 0x1403ecd40 to 0x1403ece32 (242 bytes)
//
// 2 xrefs:
// > ??> @ 0x14078a910
// > ??> @ 0x140925250
//
// 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 11:31:45 +0000
//
// Hidden C++ exception states: #wind=1
char *__fastcall LevelSettingsObject::dLevelSettingsObject(char *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
*(_QWORD *)Block = &LevelSettingsObject::`vftable';
v4 = *((cocos2d::CCObject **)Block + 40);
if ( v4 )
cocos2d::CCObject::release(v4);
sub_1400BD560((void **)Block + 88, (__int64)(Block + 704));
sub_14003D310((__int64)(Block + 664));
sub_14018C850((__int64)(Block + 648), (__int64)(Block + 648), *(_QWORD *)(*((_QWORD *)Block + 81) + 8LL));
j_j_free(*((void **)Block + 81));
sub_14003EA90((_QWORD *)Block + 76);
sub_1401192C0((void **)Block + 74);
sub_14003EA90((_QWORD *)Block + 68);
sub_140414150(Block + 528);
sub_14003D310((__int64)(Block + 488));
sub_14003D310((__int64)(Block + 392));
cocos2d::CCNode::~CCNode((cocos2d::CCNode *)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}