//
// SequenceTriggerGameObject::getSaveString from 0x8ab094 to 0x8ab5a0 (1292 bytes)
//
// 2 xrefs:
// > ??> @ 0x579a0
// > ??> @ 0x144dab0
//
// 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 SequenceTriggerGameObject::getSaveString@(
SequenceTriggerGameObject *this@,
GJBaseGameLayer *a2@,
__int64 *a3@)
{
const char *v5; // x1
size_t v6; // x2
unsigned int *v7; // x20
unsigned int *v8; // x26
size_t v9; // x22
unsigned __int64 v10; // x21
size_t v11; // x22
size_t v12; // x21
size_t v13; // x20
const char *v14; // x1
size_t v15; // x0
double v17; // d0
double v18; // d0
char *v19; // [xsp+68h] [xbp+68h]
__int64 v20[2]; // [xsp+D0h] [xbp+D0h] BYREF
char *v21; // [xsp+E0h] [xbp+E0h]
_DWORD v22[5]; // [xsp+E8h] [xbp+E8h] BYREF
char v23; // [xsp+FCh] [xbp+FCh]
_DWORD v24[5]; // [xsp+100h] [xbp+100h] BYREF
char v25; // [xsp+114h] [xbp+114h]
size_t v26; // [xsp+118h] [xbp+118h] BYREF
unsigned __int64 v27; // [xsp+120h] [xbp+120h]
char *v28; // [xsp+128h] [xbp+128h]
_BYTE v29[504]; // [xsp+130h] [xbp+130h] BYREF
v26 = 0;
v27 = 500;
v28 = v29;
EffectGameObject::getSaveString(this, a2, v20);
if ( (v20[0] & 1) != 0 )
{
v5 = v21;
v6 = v20[1];
}
else
{
v6 = LOBYTE(v20[0]) >> 1;
v5 = (char *)v20 + 1;
}
fmt::BasicWriter::operator<<(&v26, v5, v6);
if ( (v20[0] & 1) != 0 )
{
operator delete(v21);
if ( *((float *)this + 486) == 0.0 )
{
LABEL_5:
if ( !*((_DWORD *)this + 487) )
goto LABEL_6;
goto LABEL_26;
}
}
else if ( *((float *)this + 486) == 0.0 )
{
goto LABEL_5;
}
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v26, 0x1B5u);
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
v17 = *((float *)this + 486);
v22[1] = 32;
v22[0] = 0;
v22[2] = 0;
v22[3] = 0;
v22[4] = -1;
v23 = 0;
fmt::BasicWriter::FormatDouble(&v26, v22, v17);
if ( !*((_DWORD *)this + 487) )
{
LABEL_6:
if ( !*((_DWORD *)this + 488) )
goto LABEL_7;
goto LABEL_27;
}
LABEL_26:
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v26, 0x1B4u);
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v26,
*((_DWORD *)this + 487));
if ( !*((_DWORD *)this + 488) )
{
LABEL_7:
if ( *((float *)this + 489) == 0.0 )
goto LABEL_8;
LABEL_28:
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v26, 0x1B6u);
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
v18 = *((float *)this + 489);
v24[1] = 32;
v24[0] = 0;
v24[2] = 0;
v24[3] = 0;
v24[4] = -1;
v25 = 0;
fmt::BasicWriter::FormatDouble(&v26, v24, v18);
if ( !*((_BYTE *)this + 1964) )
goto LABEL_9;
LABEL_29:
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v26, 0x1F9u);
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v26,
*((unsigned __int8 *)this + 1964));
goto LABEL_9;
}
LABEL_27:
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v26, 0x1B7u);
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v26,
*((_DWORD *)this + 488));
if ( *((float *)this + 489) != 0.0 )
goto LABEL_28;
LABEL_8:
if ( *((_BYTE *)this + 1964) )
goto LABEL_29;
LABEL_9:
if ( *((_QWORD *)this + 230) != *((_QWORD *)this + 231) )
{
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v26, 0x1B3u);
fmt::BasicWriter::operator<<(&v26, &byte_1169BE0, 0);
v7 = *((unsigned int **)this + 230);
v8 = *((unsigned int **)this + 231);
if ( v7 != v8 )
{
fmt::BasicWriter::FormatInt,char>>(&v26, *v7);
v9 = v26;
v10 = v26 + 1;
if ( v26 + 1 > v27 )
goto LABEL_16;
while ( 1 )
{
v26 = v10;
v28[v9] = 46;
fmt::BasicWriter::FormatInt,char>>(&v26, v7[2]);
v7 += 4;
if ( v8 == v7 )
break;
v11 = v26;
v12 = v26 + 1;
if ( v26 + 1 > v27 )
fmt::internal::Array::grow(&v26, v26 + 1);
v26 = v12;
v28[v11] = 46;
fmt::BasicWriter::FormatInt,char>>(&v26, *v7);
v9 = v26;
v10 = v26 + 1;
if ( v26 + 1 > v27 )
LABEL_16:
fmt::internal::Array::grow(&v26, v10);
}
}
}
v13 = v26;
if ( v27 < v26 + 1 )
fmt::internal::Array::grow(&v26, v26 + 1);
v28[v13] = 0;
*a3 = 0;
v14 = v28;
a3[1] = 0;
a3[2] = 0;
v19 = (char *)v14;
v15 = strlen(v14);
std::string::__init(a3, v19, v15);
if ( v28 != v29 && v28 )
operator delete[](v28);
return a3;
}