//
// SpawnParticleGameObject::getSaveString from 0x8b3834 to 0x8b3f5c (1832 bytes)
//
// 2 xrefs:
// > ??> @ 0x627b8
// > ??> @ 0x1458400
//
// 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:24 +0000
//
__int64 *__usercall SpawnParticleGameObject::getSaveString@(
SpawnParticleGameObject *this@,
GJBaseGameLayer *a2@,
__int64 *a3@)
{
const char *v5; // x1
size_t v6; // x2
size_t v7; // x20
const char *v8; // x1
size_t v9; // x0
double v11; // d0
double v12; // d0
double v13; // d0
double v14; // d0
double v15; // d0
double v16; // d0
double v17; // d0
double v18; // d0
char *v19; // [xsp+48h] [xbp+48h]
__int64 v20[2]; // [xsp+C0h] [xbp+C0h] BYREF
char *v21; // [xsp+D0h] [xbp+D0h]
_DWORD v22[5]; // [xsp+D8h] [xbp+D8h] BYREF
char v23; // [xsp+ECh] [xbp+ECh]
_DWORD v24[5]; // [xsp+F0h] [xbp+F0h] BYREF
char v25; // [xsp+104h] [xbp+104h]
_DWORD v26[5]; // [xsp+108h] [xbp+108h] BYREF
char v27; // [xsp+11Ch] [xbp+11Ch]
_DWORD v28[5]; // [xsp+120h] [xbp+120h] BYREF
char v29; // [xsp+134h] [xbp+134h]
_DWORD v30[5]; // [xsp+138h] [xbp+138h] BYREF
char v31; // [xsp+14Ch] [xbp+14Ch]
_DWORD v32[5]; // [xsp+150h] [xbp+150h] BYREF
char v33; // [xsp+164h] [xbp+164h]
_DWORD v34[5]; // [xsp+168h] [xbp+168h] BYREF
char v35; // [xsp+17Ch] [xbp+17Ch]
_DWORD v36[5]; // [xsp+180h] [xbp+180h] BYREF
char v37; // [xsp+194h] [xbp+194h]
size_t v38; // [xsp+198h] [xbp+198h] BYREF
unsigned __int64 v39; // [xsp+1A0h] [xbp+1A0h]
char *v40; // [xsp+1A8h] [xbp+1A8h]
_BYTE v41[504]; // [xsp+1B0h] [xbp+1B0h] BYREF
v38 = 0;
v39 = 500;
v40 = v41;
EffectGameObject::getSaveString(this, a2, v20);
if ( (v20[0] & 1) != 0 )
{
v5 = v21;
v6 = v20[1];
}
else
{
v5 = (char *)v20 + 1;
v6 = LOBYTE(v20[0]) >> 1;
}
fmt::BasicWriter::operator<<(&v38, v5, v6);
if ( (v20[0] & 1) != 0 )
{
operator delete(v21);
if ( !*((_DWORD *)this + 366) )
{
LABEL_5:
if ( !*((_DWORD *)this + 367) )
goto LABEL_6;
goto LABEL_24;
}
}
else if ( !*((_DWORD *)this + 366) )
{
goto LABEL_5;
}
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x33u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v38,
*((_DWORD *)this + 366));
if ( !*((_DWORD *)this + 367) )
{
LABEL_6:
if ( *((float *)this + 460) == 0.0 )
goto LABEL_7;
goto LABEL_25;
}
LABEL_24:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x47u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v38,
*((_DWORD *)this + 367));
if ( *((float *)this + 460) == 0.0 )
{
LABEL_7:
if ( *((float *)this + 461) == 0.0 )
goto LABEL_8;
goto LABEL_26;
}
LABEL_25:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x223u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
v11 = *((float *)this + 460);
v22[1] = 32;
v22[0] = 0;
v22[2] = 0;
v22[3] = 0;
v22[4] = -1;
v23 = 0;
fmt::BasicWriter::FormatDouble(&v38, v22, v11);
if ( *((float *)this + 461) == 0.0 )
{
LABEL_8:
if ( *((float *)this + 462) == 0.0 )
goto LABEL_9;
goto LABEL_27;
}
LABEL_26:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x224u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
v12 = *((float *)this + 461);
v24[1] = 32;
v24[0] = 0;
v24[2] = 0;
v24[3] = 0;
v24[4] = -1;
v25 = 0;
fmt::BasicWriter::FormatDouble(&v38, v24, v12);
if ( *((float *)this + 462) == 0.0 )
{
LABEL_9:
if ( *((float *)this + 463) == 0.0 )
goto LABEL_10;
goto LABEL_28;
}
LABEL_27:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x225u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
v13 = *((float *)this + 462);
v26[1] = 32;
v26[0] = 0;
v26[2] = 0;
v26[3] = 0;
v26[4] = -1;
v27 = 0;
fmt::BasicWriter::FormatDouble(&v38, v26, v13);
if ( *((float *)this + 463) == 0.0 )
{
LABEL_10:
if ( !*((_BYTE *)this + 1856) )
goto LABEL_11;
goto LABEL_29;
}
LABEL_28:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x226u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
v14 = *((float *)this + 463);
v28[1] = 32;
v28[0] = 0;
v28[2] = 0;
v28[3] = 0;
v28[4] = -1;
v29 = 0;
fmt::BasicWriter::FormatDouble(&v38, v28, v14);
if ( !*((_BYTE *)this + 1856) )
{
LABEL_11:
if ( *((float *)this + 465) == 0.0 )
goto LABEL_12;
goto LABEL_30;
}
LABEL_29:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x227u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v38,
*((unsigned __int8 *)this + 1856));
if ( *((float *)this + 465) == 0.0 )
{
LABEL_12:
if ( *((float *)this + 466) == 0.0 )
goto LABEL_13;
goto LABEL_31;
}
LABEL_30:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x228u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
v15 = *((float *)this + 465);
v30[1] = 32;
v30[0] = 0;
v30[2] = 0;
v30[3] = 0;
v30[4] = -1;
v31 = 0;
fmt::BasicWriter::FormatDouble(&v38, v30, v15);
if ( *((float *)this + 466) == 0.0 )
{
LABEL_13:
if ( *((float *)this + 467) == 0.0 )
goto LABEL_14;
LABEL_32:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x22Au);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
v17 = *((float *)this + 467);
v34[1] = 32;
v34[0] = 0;
v34[2] = 0;
v34[3] = 0;
v34[4] = -1;
v35 = 0;
fmt::BasicWriter::FormatDouble(&v38, v34, v17);
if ( *((float *)this + 468) == 0.0 )
goto LABEL_15;
goto LABEL_33;
}
LABEL_31:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x229u);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
v16 = *((float *)this + 466);
v32[1] = 32;
v32[0] = 0;
v32[2] = 0;
v32[3] = 0;
v32[4] = -1;
v33 = 0;
fmt::BasicWriter::FormatDouble(&v38, v32, v16);
if ( *((float *)this + 467) != 0.0 )
goto LABEL_32;
LABEL_14:
if ( *((float *)this + 468) == 0.0 )
goto LABEL_15;
LABEL_33:
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v38, 0x22Bu);
fmt::BasicWriter::operator<<(&v38, &byte_1169BE0, 0);
v18 = *((float *)this + 468);
v36[1] = 32;
v36[0] = 0;
v36[2] = 0;
v36[3] = 0;
v36[4] = -1;
v37 = 0;
fmt::BasicWriter::FormatDouble(&v38, v36, v18);
LABEL_15:
v7 = v38;
if ( v39 < v38 + 1 )
fmt::internal::Array::grow(&v38, v38 + 1);
v40[v7] = 0;
*a3 = 0;
v8 = v40;
a3[1] = 0;
a3[2] = 0;
v19 = (char *)v8;
v9 = strlen(v8);
std::string::__init(a3, v19, v9);
if ( v40 != v41 && v40 )
operator delete[](v40);
return a3;
}