//
// StartPosObject::loadSettingsFromString from 0x1001bda10 to 0x1001bda6d (93 bytes)
//
// 2 xrefs:
// > PlayLayer::processCreateObjectsFromSetup @ 0x1000ad8c8
// > LevelEditorLayer::createObjectsFromSetup @ 0x1000dd2a2
//
// 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
//
void __fastcall StartPosObject::loadSettingsFromString(__int64 a1, __int64 a2)
{
cocos2d::CCDictionary *v3; // rax
LevelSettingsObject *v4; // rax
cocos2d::CCObject *v5; // rdi
LevelSettingsObject *v6; // r14
v3 = (cocos2d::CCDictionary *)GameToolbox::stringSetupToDict(a2, ",");
v4 = LevelSettingsObject::objectFromDict(v3);
v5 = *(cocos2d::CCObject **)(a1 + 1840);
if ( v5 != v4 )
{
v6 = v4;
if ( v4 )
{
cocos2d::CCObject::retain(v4);
v5 = *(cocos2d::CCObject **)(a1 + 1840);
}
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 1840) = v6;
}
}