//
// StartPosObject::getSaveString from 0x8a29fc to 0x8a2ae8 (236 bytes)
//
// 2 xrefs:
// > ??> @ 0xcd4f8
// > ??> @ 0x144ba60
//
// This function is hookable on this platform (idp: arm, 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:56:17 +0000
//
__int64 *__usercall StartPosObject::getSaveString@(
LevelSettingsObject **this@,
GJBaseGameLayer *a2@,
__int64 *a3@)
{
size_t v5; // x2
char *v6; // x1
__int64 v8[2]; // [xsp+30h] [xbp+30h] BYREF
void *v9; // [xsp+40h] [xbp+40h]
EffectGameObject::getSaveString((EffectGameObject *)this, a2, a3);
if ( *(this + 230) )
{
std::string::append((__int64)a3, &byte_1169BE0, 1u);
LevelSettingsObject::getSaveString(*(this + 230), v8);
if ( (v8[0] & 1) != 0 )
{
v6 = (char *)v9;
v5 = v8[1];
}
else
{
v5 = LOBYTE(v8[0]) >> 1;
v6 = (char *)v8 + 1;
}
std::string::append((__int64)a3, v6, v5);
if ( (v8[0] & 1) != 0 )
operator delete(v9);
}
return a3;
}