//
// StartPosObject::loadSettingsFromString from 0x140653450 to 0x1406534e1 (145 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::createObjectsFromSetup @ 0x1403f0035
// > LevelEditorLayer::createObjectsFromString @ 0x1403f06f6
// > PlayLayer::processCreateObjectsFromSetup @ 0x14050becf
// > ??> @ 0x14093155c
//
// 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:35:44 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall StartPosObject::loadSettingsFromString(__int64 a1, _QWORD *a2)
{
__int64 v4; // rax
cocos2d::CCObject *v5; // rax
cocos2d::CCObject *v6; // rbx
cocos2d::CCObject *v7; // rcx
v4 = GameToolbox::stringSetupToDict(a2);
v5 = (cocos2d::CCObject *)LevelSettingsObject::objectFromDict(v4);
v6 = v5;
if ( *(cocos2d::CCObject **)(a1 + 1856) != v5 )
{
if ( v5 )
cocos2d::CCObject::retain(v5);
v7 = *(cocos2d::CCObject **)(a1 + 1856);
if ( v7 )
cocos2d::CCObject::release(v7);
*(_QWORD *)(a1 + 1856) = v6;
}
sub_14003D310((__int64)a2);
}