//
// CheckpointGameObject::getSaveString from 0x503558 to 0x503740 (488 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:51:23 +0000
//
CheckpointGameObject *__fastcall CheckpointGameObject::getSaveString(
CheckpointGameObject *this,
GJBaseGameLayer *a2,
GameObject *a3)
{
const char *v5; // r0
const char *v6; // r4
size_t v7; // r0
const char *v9; // [sp+0h] [bp-8h] BYREF
size_t v10; // [sp+4h] [bp-4h]
unsigned __int8 v11[12]; // [sp+8h] [bp+0h] BYREF
unsigned int v12[3]; // [sp+14h] [bp+Ch] BYREF
char v13; // [sp+20h] [bp+18h] BYREF
v12[0] = 0;
v12[1] = 500;
v12[2] = (unsigned int)&v13;
EffectGameObject::getSaveString((EffectGameObject *)v11, a2, a3);
fmt::BasicStringRef::BasicStringRef((unsigned __int8 **)&v9, v11);
fmt::BasicWriter::operator<<(v12, v9, v10);
std::string::~string((int)v11);
if ( *((_DWORD *)a2 + 321) )
{
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, 51);
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, *((_DWORD *)a2 + 321));
}
if ( *((_DWORD *)a2 + 322) )
{
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, 71);
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, *((_DWORD *)a2 + 322));
}
if ( *((_DWORD *)a2 + 413) )
{
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, 448);
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, *((_DWORD *)a2 + 413));
}
if ( *((_DWORD *)a2 + 414) )
{
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, 604);
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, *((_DWORD *)a2 + 414));
}
if ( *((_BYTE *)a2 + 1504) )
{
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, 138);
v9 = ",";
v10 = 0;
fmt::BasicWriter::operator<<(v12, ",", 0);
fmt::BasicWriter::operator<<(v12, *((unsigned __int8 *)a2 + 1504));
}
v5 = (const char *)fmt::BasicWriter::c_str((int *)v12);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v6 = v5;
*((_DWORD *)this + 2) = 0;
v7 = strlen(v5);
std::string::__init((int *)this, v6, v7);
fmt::internal::Array::free((int)v12);
return this;
}