//
// StartPosObject::getSaveString from 0x1001bda80 to 0x1001bdafb (123 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c4e00
//
// 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
//
std::string *__fastcall StartPosObject::getSaveString(std::string *this, __int64 a2, double a3)
{
const std::string::value_type *v3; // rsi
std::string::size_type v4; // rdx
size_t v6[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
EffectGameObject::getSaveString((size_t *)this, a2);
if ( *(_QWORD *)(a2 + 1840) )
{
std::string::append(this, ",");
LevelSettingsObject::getSaveString(v6, *(_QWORD *)(a2 + 1840), a3);
if ( (v6[0] & 1) != 0 )
{
v3 = (const std::string::value_type *)__p;
v4 = v6[1];
}
else
{
v4 = LOBYTE(v6[0]) >> 1;
v3 = (char *)v6 + 1;
}
std::string::append(this, v3, v4);
if ( (v6[0] & 1) != 0 )
operator delete(__p);
}
return this;
}