//
// StartPosObject::loadSettingsFromString from 0x1404b2060 to 0x1404b20f1 (145 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::createObjectsFromSetup @ 0x1402d3ea5
// > LevelEditorLayer::createObjectsFromSetup @ 0x1402d3ef7
// > PlayLayer::processCreateObjectsFromSetup @ 0x1403ad55a
// > ??> @ 0x1406dc9a4
//
// 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
//
// Hidden C++ exception states: #wind=1
void __fastcall StartPosObject::loadSettingsFromString(__int64 a1, _QWORD *a2)
{
cocos2d::CCDictionary *v4; // rax
LevelSettingsObject *v5; // rax
LevelSettingsObject *v6; // rbx
cocos2d::CCObject *v7; // rcx
v4 = (cocos2d::CCDictionary *)GameToolbox::stringSetupToDict(a2);
v5 = LevelSettingsObject::objectFromDict(v4);
v6 = v5;
if ( *(LevelSettingsObject **)(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_14003A830((__int64)a2);
}