//
// RotateGameplayGameObject::getSaveString from 0x8b3f5c to 0x8b45ac (1616 bytes)
//
// 2 xrefs:
// > ??> @ 0xec5a8
// > ??> @ 0x1458c10
//
// 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 RotateGameplayGameObject::getSaveString@(
RotateGameplayGameObject *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
char *v13; // [xsp+48h] [xbp+48h]
__int64 v14[2]; // [xsp+F0h] [xbp+F0h] BYREF
char *v15; // [xsp+100h] [xbp+100h]
_DWORD v16[5]; // [xsp+108h] [xbp+108h] BYREF
char v17; // [xsp+11Ch] [xbp+11Ch]
_DWORD v18[5]; // [xsp+120h] [xbp+120h] BYREF
char v19; // [xsp+134h] [xbp+134h]
size_t v20; // [xsp+138h] [xbp+138h] BYREF
unsigned __int64 v21; // [xsp+140h] [xbp+140h]
char *v22; // [xsp+148h] [xbp+148h]
_BYTE v23[504]; // [xsp+150h] [xbp+150h] BYREF
v20 = 0;
v21 = 500;
v22 = v23;
EffectGameObject::getSaveString(this, a2, v14);
if ( (v14[0] & 1) != 0 )
{
v5 = v15;
v6 = v14[1];
}
else
{
v5 = (char *)v14 + 1;
v6 = LOBYTE(v14[0]) >> 1;
}
fmt::BasicWriter::operator<<(&v20, v5, v6);
if ( (v14[0] & 1) != 0 )
{
operator delete(v15);
if ( !*((_BYTE *)this + 1848) )
{
LABEL_5:
if ( !*((_BYTE *)this + 1849) )
goto LABEL_6;
goto LABEL_24;
}
}
else if ( !*((_BYTE *)this + 1848) )
{
goto LABEL_5;
}
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0xA9u);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((unsigned __int8 *)this + 1848));
if ( !*((_BYTE *)this + 1849) )
{
LABEL_6:
if ( *((float *)this + 463) == 0.0 )
goto LABEL_7;
goto LABEL_25;
}
LABEL_24:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0x248u);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((unsigned __int8 *)this + 1849));
if ( *((float *)this + 463) == 0.0 )
{
LABEL_7:
if ( *((float *)this + 464) == 0.0 )
goto LABEL_8;
goto LABEL_26;
}
LABEL_25:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0x246u);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
v11 = *((float *)this + 463);
v16[1] = 32;
v16[0] = 0;
v16[2] = 0;
v16[3] = 0;
v16[4] = -1;
v17 = 0;
fmt::BasicWriter::FormatDouble(&v20, v16, v11);
if ( *((float *)this + 464) == 0.0 )
{
LABEL_8:
if ( !*((_DWORD *)this + 460) )
goto LABEL_9;
goto LABEL_27;
}
LABEL_26:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0x247u);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
v12 = *((float *)this + 464);
v18[1] = 32;
v18[0] = 0;
v18[2] = 0;
v18[3] = 0;
v18[4] = -1;
v19 = 0;
fmt::BasicWriter::FormatDouble(&v20, v18, v12);
if ( !*((_DWORD *)this + 460) )
{
LABEL_9:
if ( !*((_DWORD *)this + 461) )
goto LABEL_10;
goto LABEL_28;
}
LABEL_27:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0xA6u);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((_DWORD *)this + 460));
if ( !*((_DWORD *)this + 461) )
{
LABEL_10:
if ( !*((_BYTE *)this + 1860) )
goto LABEL_11;
goto LABEL_29;
}
LABEL_28:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0xA7u);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((_DWORD *)this + 461));
if ( !*((_BYTE *)this + 1860) )
{
LABEL_11:
if ( !*((_BYTE *)this + 1861) )
goto LABEL_12;
goto LABEL_30;
}
LABEL_29:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0xABu);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((unsigned __int8 *)this + 1860));
if ( !*((_BYTE *)this + 1861) )
{
LABEL_12:
if ( !*((_DWORD *)this + 466) )
goto LABEL_13;
goto LABEL_31;
}
LABEL_30:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0xACu);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((unsigned __int8 *)this + 1861));
if ( !*((_DWORD *)this + 466) )
{
LABEL_13:
if ( !*((_BYTE *)this + 1868) )
goto LABEL_14;
LABEL_32:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0x170u);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((unsigned __int8 *)this + 1868));
if ( !*((_BYTE *)this + 1869) )
goto LABEL_15;
goto LABEL_33;
}
LABEL_31:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0xADu);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((_DWORD *)this + 466));
if ( *((_BYTE *)this + 1868) )
goto LABEL_32;
LABEL_14:
if ( !*((_BYTE *)this + 1869) )
goto LABEL_15;
LABEL_33:
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v20, 0x249u);
fmt::BasicWriter::operator<<(&v20, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v20,
*((unsigned __int8 *)this + 1869));
LABEL_15:
v7 = v20;
if ( v21 < v20 + 1 )
fmt::internal::Array::grow(&v20, v20 + 1);
v22[v7] = 0;
*a3 = 0;
v8 = v22;
a3[1] = 0;
a3[2] = 0;
v13 = (char *)v8;
v9 = strlen(v8);
std::string::__init(a3, v13, v9);
if ( v22 != v23 && v22 )
operator delete[](v22);
return a3;
}