//
// DashRingObject::getSaveString from 0x8a925c to 0x8a9648 (1004 bytes)
//
// 2 xrefs:
// > ??> @ 0x4bb80
// > ??> @ 0x14491d0
//
// 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:20 +0000
//
__int64 *__usercall DashRingObject::getSaveString@(
DashRingObject *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
char *v14; // [xsp+48h] [xbp+48h]
__int64 v15[2]; // [xsp+88h] [xbp+88h] BYREF
char *v16; // [xsp+98h] [xbp+98h]
_DWORD v17[5]; // [xsp+A0h] [xbp+A0h] BYREF
char v18; // [xsp+B4h] [xbp+B4h]
_DWORD v19[5]; // [xsp+B8h] [xbp+B8h] BYREF
char v20; // [xsp+CCh] [xbp+CCh]
_DWORD v21[5]; // [xsp+D0h] [xbp+D0h] BYREF
char v22; // [xsp+E4h] [xbp+E4h]
size_t v23; // [xsp+E8h] [xbp+E8h] BYREF
unsigned __int64 v24; // [xsp+F0h] [xbp+F0h]
char *v25; // [xsp+F8h] [xbp+F8h]
_BYTE v26[504]; // [xsp+100h] [xbp+100h] BYREF
v23 = 0;
v24 = 500;
v25 = v26;
RingObject::getSaveString(this, a2, v15);
if ( (v15[0] & 1) != 0 )
{
v5 = v16;
v6 = v15[1];
}
else
{
v5 = (char *)v15 + 1;
v6 = LOBYTE(v15[0]) >> 1;
}
fmt::BasicWriter::operator<<(&v23, v5, v6);
if ( (v15[0] & 1) != 0 )
{
operator delete(v16);
if ( *((float *)this + 461) == 0.0 )
{
LABEL_5:
if ( *((float *)this + 462) == 0.0 )
goto LABEL_6;
goto LABEL_18;
}
}
else if ( *((float *)this + 461) == 0.0 )
{
goto LABEL_5;
}
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v23, 0x24Au);
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
v11 = *((float *)this + 461);
v17[1] = 32;
v17[0] = 0;
v17[2] = 0;
v17[3] = 0;
v17[4] = -1;
v18 = 0;
fmt::BasicWriter::FormatDouble(&v23, v17, v11);
if ( *((float *)this + 462) == 0.0 )
{
LABEL_6:
if ( !*((_BYTE *)this + 1856) )
goto LABEL_7;
goto LABEL_19;
}
LABEL_18:
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v23, 0x24Cu);
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
v12 = *((float *)this + 462);
v19[1] = 32;
v19[0] = 0;
v19[2] = 0;
v19[3] = 0;
v19[4] = -1;
v20 = 0;
fmt::BasicWriter::FormatDouble(&v23, v19, v12);
if ( !*((_BYTE *)this + 1856) )
{
LABEL_7:
if ( !*((_BYTE *)this + 1857) )
goto LABEL_8;
LABEL_20:
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v23, 0x24Du);
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v23,
*((unsigned __int8 *)this + 1857));
if ( *((float *)this + 463) == 0.0 )
goto LABEL_9;
goto LABEL_21;
}
LABEL_19:
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v23, 0x24Bu);
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v23,
*((unsigned __int8 *)this + 1856));
if ( *((_BYTE *)this + 1857) )
goto LABEL_20;
LABEL_8:
if ( *((float *)this + 463) == 0.0 )
goto LABEL_9;
LABEL_21:
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v23, 0x24Eu);
fmt::BasicWriter::operator<<(&v23, &byte_1169BE0, 0);
v13 = *((float *)this + 463);
v21[1] = 32;
v21[0] = 0;
v21[2] = 0;
v21[3] = 0;
v21[4] = -1;
v22 = 0;
fmt::BasicWriter::FormatDouble(&v23, v21, v13);
LABEL_9:
v7 = v23;
if ( v24 < v23 + 1 )
fmt::internal::Array::grow(&v23, v23 + 1);
v25[v7] = 0;
*a3 = 0;
v8 = v25;
a3[1] = 0;
a3[2] = 0;
v14 = (char *)v8;
v9 = strlen(v8);
std::string::__init(a3, v14, v9);
if ( v25 != v26 && v25 )
operator delete[](v25);
return a3;
}