//
// StartPosObject::loadSettingsFromString from 0x10019e160 to 0x10019e1bd (93 bytes)
//
// 3 xrefs:
// > PlayLayer::processCreateObjectsFromSetup @ 0x10007ad98
// > LevelEditorLayer::createObjectsFromSetup @ 0x1000ac1d2
// > LevelEditorLayer::createObjectsFromString @ 0x1000af0d1
//
// 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 12:25:58 +0000
//
char *__fastcall StartPosObject::loadSettingsFromString(__int64 a1, __int64 a2, double a3)
{
__int64 v4; // rax
char *result; // rax
char *v6; // rdi
char *v7; // r14
v4 = GameToolbox::stringSetupToDict(a2, ",");
result = LevelSettingsObject::objectFromDict(v4, a3);
v6 = *(char **)(a1 + 1840);
if ( v6 != result )
{
v7 = result;
if ( result )
{
result = (char *)cocos2d::CCObject::retain(result);
v6 = *(char **)(a1 + 1840);
}
if ( v6 )
result = (char *)cocos2d::CCObject::release(v6);
*(_QWORD *)(a1 + 1840) = v7;
}
return result;
}