//
// TimerTriggerGameObject::getSaveString from 0x8b0b00 to 0x8b1244 (1860 bytes)
//
// 2 xrefs:
// > ??> @ 0xc44e0
// > ??> @ 0x1453b70
//
// 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:23 +0000
//
__int64 *__usercall TimerTriggerGameObject::getSaveString@(
TimerTriggerGameObject *this@,
GJBaseGameLayer *a2@,
__int64 *a3@)
{
const char *v5; // x1
size_t v6; // x2
int v7; // w0
size_t v8; // x20
const char *v9; // x1
size_t v10; // x0
double v12; // d0
double v13; // d0
double v14; // d0
double v15; // d0
char *v16; // [xsp+48h] [xbp+48h]
__int64 v17[2]; // [xsp+100h] [xbp+100h] BYREF
char *v18; // [xsp+110h] [xbp+110h]
_DWORD v19[5]; // [xsp+118h] [xbp+118h] BYREF
char v20; // [xsp+12Ch] [xbp+12Ch]
_DWORD v21[5]; // [xsp+130h] [xbp+130h] BYREF
char v22; // [xsp+144h] [xbp+144h]
_DWORD v23[5]; // [xsp+148h] [xbp+148h] BYREF
char v24; // [xsp+15Ch] [xbp+15Ch]
_DWORD v25[5]; // [xsp+160h] [xbp+160h] BYREF
char v26; // [xsp+174h] [xbp+174h]
size_t v27; // [xsp+178h] [xbp+178h] BYREF
unsigned __int64 v28; // [xsp+180h] [xbp+180h]
char *v29; // [xsp+188h] [xbp+188h]
_BYTE v30[504]; // [xsp+190h] [xbp+190h] BYREF
v27 = 0;
v28 = 500;
v29 = v30;
EffectGameObject::getSaveString(this, a2, v17);
if ( (v17[0] & 1) != 0 )
{
v5 = v18;
v6 = v17[1];
}
else
{
v5 = (char *)v17 + 1;
v6 = LOBYTE(v17[0]) >> 1;
}
fmt::BasicWriter::operator<<(&v27, v5, v6);
if ( (v17[0] & 1) != 0 )
operator delete(v18);
if ( !*((_DWORD *)this + 420) )
{
v7 = *((_DWORD *)this + 257);
if ( v7 != 3615 )
goto LABEL_7;
LABEL_33:
if ( *((double *)this + 231) != 0.0 )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1D9u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
v12 = *((double *)this + 231);
v25[0] = 0;
v25[1] = 32;
v25[2] = 0;
v25[3] = 0;
v25[4] = -1;
v26 = 0;
fmt::BasicWriter::FormatDouble(&v27, v25, v12);
}
if ( *((_BYTE *)this + 1865) )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1DBu);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v27,
*((unsigned __int8 *)this + 1865));
}
if ( *((_DWORD *)this + 366) )
goto LABEL_31;
goto LABEL_9;
}
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x50u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v27,
*((_DWORD *)this + 420));
v7 = *((_DWORD *)this + 257);
if ( v7 == 3615 )
goto LABEL_33;
LABEL_7:
if ( v7 == 3617 )
{
if ( *((_DWORD *)this + 467) )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1D8u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v27,
*((_DWORD *)this + 467));
}
}
else if ( v7 == 3614 )
{
if ( *((double *)this + 230) != 0.0 )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1D3u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
v15 = *((double *)this + 230);
v19[0] = 0;
v19[1] = 32;
v19[2] = 0;
v19[3] = 0;
v19[4] = -1;
v20 = 0;
fmt::BasicWriter::FormatDouble(&v27, v19, v15);
}
if ( *((double *)this + 231) != 0.0 )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1D9u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
v14 = *((double *)this + 231);
v21[0] = 0;
v21[1] = 32;
v21[2] = 0;
v21[3] = 0;
v21[4] = -1;
v22 = 0;
fmt::BasicWriter::FormatDouble(&v27, v21, v14);
}
if ( *((_BYTE *)this + 1856) )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1DAu);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v27,
*((unsigned __int8 *)this + 1856));
}
if ( *((_BYTE *)this + 1857) )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1D4u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v27,
*((unsigned __int8 *)this + 1857));
}
if ( *((_BYTE *)this + 1858) )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1D5u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v27,
*((unsigned __int8 *)this + 1858));
}
if ( *((float *)this + 465) != 0.0 )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1D6u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
v13 = *((float *)this + 465);
v23[1] = 32;
v23[0] = 0;
v23[2] = 0;
v23[3] = 0;
v23[4] = -1;
v24 = 0;
fmt::BasicWriter::FormatDouble(&v27, v23, v13);
}
if ( *((_BYTE *)this + 1864) )
{
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x1D7u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v27,
*((unsigned __int8 *)this + 1864));
}
if ( *((_DWORD *)this + 366) )
{
LABEL_31:
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(&v27, 0x33u);
fmt::BasicWriter::operator<<(&v27, &byte_1169BE0, 0);
fmt::BasicWriter::FormatInt,char>>(
&v27,
*((_DWORD *)this + 366));
}
}
LABEL_9:
v8 = v27;
if ( v28 < v27 + 1 )
fmt::internal::Array::grow(&v27, v27 + 1);
v29[v8] = 0;
*a3 = 0;
v9 = v29;
a3[1] = 0;
a3[2] = 0;
v16 = (char *)v9;
v10 = strlen(v9);
std::string::__init(a3, v16, v10);
if ( v29 != v30 && v29 )
operator delete[](v29);
return a3;
}