//
// TransformTriggerGameObject::getSaveString from 0x8aec20 to 0x8af450 (2096 bytes)
//
// 2 xrefs:
// > ??> @ 0x49ae0
// > ??> @ 0x1451b30
//
// 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:22 +0000
//
__int64 *__usercall TransformTriggerGameObject::getSaveString@(
TransformTriggerGameObject *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
char *v17; // [xsp+48h] [xbp+48h]
__int64 v18[2]; // [xsp+100h] [xbp+100h] BYREF
char *v19; // [xsp+110h] [xbp+110h]
_DWORD v20[5]; // [xsp+118h] [xbp+118h] BYREF
char v21; // [xsp+12Ch] [xbp+12Ch]
_DWORD v22[5]; // [xsp+130h] [xbp+130h] BYREF
char v23; // [xsp+144h] [xbp+144h]
_DWORD v24[5]; // [xsp+148h] [xbp+148h] BYREF
char v25; // [xsp+15Ch] [xbp+15Ch]
_DWORD v26[5]; // [xsp+160h] [xbp+160h] BYREF
char v27; // [xsp+174h] [xbp+174h]
_DWORD v28[5]; // [xsp+178h] [xbp+178h] BYREF
char v29; // [xsp+18Ch] [xbp+18Ch]
_DWORD v30[5]; // [xsp+190h] [xbp+190h] BYREF
char v31; // [xsp+1A4h] [xbp+1A4h]
size_t v32; // [xsp+1A8h] [xbp+1A8h] BYREF
unsigned __int64 v33; // [xsp+1B0h] [xbp+1B0h]
char *v34; // [xsp+1B8h] [xbp+1B8h]
_BYTE v35[504]; // [xsp+1C0h] [xbp+1C0h] BYREF
v32 = 0;
v33 = 500;
v34 = v35;
EffectGameObject::getSaveString(this, a2, v18);
if ( (v18[0] & 1) != 0 )
{
v5 = v19;
v6 = v18[1];
}
else
{
v5 = (char *)v18 + 1;
v6 = LOBYTE(v18[0]) >> 1;
}
fmt::BasicWriter::operator<<(&v32, v5, v6);
if ( (v18[0] & 1) != 0 )
operator delete(v19);
if ( *((_DWORD *)this + 257) != 2067 )
goto LABEL_20;
if ( *((_DWORD *)this + 366) )
{
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x33u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v32,
*((_DWORD *)this + 366));
if ( !*((_DWORD *)this + 367) )
{
LABEL_8:
if ( *((float *)this + 363) == 0.0 )
goto LABEL_9;
goto LABEL_30;
}
}
else if ( !*((_DWORD *)this + 367) )
{
goto LABEL_8;
}
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x47u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v32,
*((_DWORD *)this + 367));
if ( *((float *)this + 363) == 0.0 )
{
LABEL_9:
if ( !*((_DWORD *)this + 374) )
goto LABEL_10;
goto LABEL_31;
}
LABEL_30:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0xAu);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v11 = *((float *)this + 363);
v20[1] = 32;
v20[0] = 0;
v20[2] = 0;
v20[3] = 0;
v20[4] = -1;
v21 = 0;
fmt::BasicWriter::FormatDouble(&v32, v20, v11);
if ( !*((_DWORD *)this + 374) )
{
LABEL_10:
if ( *((float *)this + 375) == 0.0 )
goto LABEL_11;
goto LABEL_32;
}
LABEL_31:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x1Eu);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v32,
*((_DWORD *)this + 374));
if ( *((float *)this + 375) == 0.0 )
{
LABEL_11:
if ( *((float *)this + 460) == 0.0 )
goto LABEL_12;
goto LABEL_33;
}
LABEL_32:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x55u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v12 = *((float *)this + 375);
v22[1] = 32;
v22[0] = 0;
v22[2] = 0;
v22[3] = 0;
v22[4] = -1;
v23 = 0;
fmt::BasicWriter::FormatDouble(&v32, v22, v12);
if ( *((float *)this + 460) == 0.0 )
{
LABEL_12:
if ( *((float *)this + 461) == 0.0 )
goto LABEL_13;
goto LABEL_34;
}
LABEL_33:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x96u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v13 = *((float *)this + 460);
v24[1] = 32;
v24[0] = 0;
v24[2] = 0;
v24[3] = 0;
v24[4] = -1;
v25 = 0;
fmt::BasicWriter::FormatDouble(&v32, v24, v13);
if ( *((float *)this + 461) == 0.0 )
{
LABEL_13:
if ( *((float *)this + 462) == 0.0 )
goto LABEL_14;
goto LABEL_35;
}
LABEL_34:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x97u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v14 = *((float *)this + 461);
v26[1] = 32;
v26[0] = 0;
v26[2] = 0;
v26[3] = 0;
v26[4] = -1;
v27 = 0;
fmt::BasicWriter::FormatDouble(&v32, v26, v14);
if ( *((float *)this + 462) == 0.0 )
{
LABEL_14:
if ( *((float *)this + 463) == 0.0 )
goto LABEL_15;
goto LABEL_36;
}
LABEL_35:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x1C2u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v15 = *((float *)this + 462);
v28[1] = 32;
v28[0] = 0;
v28[2] = 0;
v28[3] = 0;
v28[4] = -1;
v29 = 0;
fmt::BasicWriter::FormatDouble(&v32, v28, v15);
if ( *((float *)this + 463) == 0.0 )
{
LABEL_15:
if ( !*((_BYTE *)this + 1857) )
goto LABEL_16;
goto LABEL_37;
}
LABEL_36:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x1C3u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v16 = *((float *)this + 463);
v30[1] = 32;
v30[0] = 0;
v30[2] = 0;
v30[3] = 0;
v30[4] = -1;
v31 = 0;
fmt::BasicWriter::FormatDouble(&v32, v30, v16);
if ( !*((_BYTE *)this + 1857) )
{
LABEL_16:
if ( !*((_BYTE *)this + 1858) )
goto LABEL_17;
goto LABEL_38;
}
LABEL_37:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x99u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v32,
*((unsigned __int8 *)this + 1857));
if ( !*((_BYTE *)this + 1858) )
{
LABEL_17:
if ( !*((_BYTE *)this + 1856) )
goto LABEL_18;
LABEL_39:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x85u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v32,
*((unsigned __int8 *)this + 1856));
if ( !*((_BYTE *)this + 1859) )
{
LABEL_19:
if ( !*((_BYTE *)this + 1860) )
goto LABEL_20;
goto LABEL_27;
}
goto LABEL_40;
}
LABEL_38:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x9Au);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v32,
*((unsigned __int8 *)this + 1858));
if ( *((_BYTE *)this + 1856) )
goto LABEL_39;
LABEL_18:
if ( !*((_BYTE *)this + 1859) )
goto LABEL_19;
LABEL_40:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x1C4u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v32,
*((unsigned __int8 *)this + 1859));
if ( *((_BYTE *)this + 1860) )
{
LABEL_27:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x241u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v32,
*((unsigned __int8 *)this + 1860));
}
LABEL_20:
v7 = v32;
if ( v33 < v32 + 1 )
fmt::internal::Array::grow(&v32, v32 + 1);
v34[v7] = 0;
*a3 = 0;
v8 = v34;
a3[1] = 0;
a3[2] = 0;
v17 = (char *)v8;
v9 = strlen(v8);
std::string::__init(a3, v17, v9);
if ( v34 != v35 && v34 )
operator delete[](v34);
return a3;
}