//
// KeyframeAnimTriggerObject::getSaveString from 0x8a9648 to 0x8a9b0c (1220 bytes)
//
// 2 xrefs:
// > ??> @ 0x86b18
// > ??> @ 0x144aa40
//
// 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 KeyframeAnimTriggerObject::getSaveString@(
KeyframeAnimTriggerObject *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+80h] [xbp+80h] BYREF
char *v19; // [xsp+90h] [xbp+90h]
_DWORD v20[5]; // [xsp+98h] [xbp+98h] BYREF
char v21; // [xsp+ACh] [xbp+ACh]
_DWORD v22[5]; // [xsp+B0h] [xbp+B0h] BYREF
char v23; // [xsp+C4h] [xbp+C4h]
_DWORD v24[5]; // [xsp+C8h] [xbp+C8h] BYREF
char v25; // [xsp+DCh] [xbp+DCh]
_DWORD v26[5]; // [xsp+E0h] [xbp+E0h] BYREF
char v27; // [xsp+F4h] [xbp+F4h]
_DWORD v28[5]; // [xsp+F8h] [xbp+F8h] BYREF
char v29; // [xsp+10Ch] [xbp+10Ch]
_DWORD v30[5]; // [xsp+110h] [xbp+110h] BYREF
char v31; // [xsp+124h] [xbp+124h]
size_t v32; // [xsp+128h] [xbp+128h] BYREF
unsigned __int64 v33; // [xsp+130h] [xbp+130h]
char *v34; // [xsp+138h] [xbp+138h]
_BYTE v35[504]; // [xsp+140h] [xbp+140h] 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 ( *((float *)this + 460) == 0.0 )
{
LABEL_5:
if ( *((float *)this + 461) == 0.0 )
goto LABEL_6;
goto LABEL_19;
}
}
else if ( *((float *)this + 460) == 0.0 )
{
goto LABEL_5;
}
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x208u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v11 = *((float *)this + 460);
v20[1] = 32;
v20[0] = 0;
v20[2] = 0;
v20[3] = 0;
v20[4] = -1;
v21 = 0;
fmt::BasicWriter::FormatDouble(&v32, v20, v11);
if ( *((float *)this + 461) == 0.0 )
{
LABEL_6:
if ( *((float *)this + 462) == 0.0 )
goto LABEL_7;
goto LABEL_20;
}
LABEL_19:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x209u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v12 = *((float *)this + 461);
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 + 462) == 0.0 )
{
LABEL_7:
if ( *((float *)this + 463) == 0.0 )
goto LABEL_8;
goto LABEL_21;
}
LABEL_20:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x221u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v13 = *((float *)this + 462);
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 + 463) == 0.0 )
{
LABEL_8:
if ( *((float *)this + 464) == 0.0 )
goto LABEL_9;
LABEL_22:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x20Bu);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v15 = *((float *)this + 464);
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 + 465) == 0.0 )
goto LABEL_10;
goto LABEL_23;
}
LABEL_21:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x20Au);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v14 = *((float *)this + 463);
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 + 464) != 0.0 )
goto LABEL_22;
LABEL_9:
if ( *((float *)this + 465) == 0.0 )
goto LABEL_10;
LABEL_23:
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v32, 0x222u);
fmt::BasicWriter::operator<<(&v32, &byte_1169BE0, 0);
v16 = *((float *)this + 465);
v30[1] = 32;
v30[0] = 0;
v30[2] = 0;
v30[3] = 0;
v30[4] = -1;
v31 = 0;
fmt::BasicWriter::FormatDouble(&v32, v30, v16);
LABEL_10:
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;
}