//
// TextGameObject::getSaveString from 0x45e3b4 to 0x45e510 (348 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:48:51 +0000
//
TextGameObject *__fastcall TextGameObject::getSaveString(TextGameObject *this, GJBaseGameLayer *a2, GameObject *a3)
{
unsigned __int8 *v5; // r3
const char *v6; // r0
const char *v7; // r4
size_t v8; // r0
const char *v10; // [sp+0h] [bp-230h] BYREF
size_t v11; // [sp+4h] [bp-22Ch]
unsigned __int8 v12[12]; // [sp+8h] [bp-228h] BYREF
int v13[3]; // [sp+14h] [bp-21Ch] BYREF
_DWORD v14[3]; // [sp+20h] [bp-210h] BYREF
unsigned int v15[3]; // [sp+2Ch] [bp-204h] BYREF
char v16; // [sp+38h] [bp-1F8h] BYREF
v15[0] = 0;
v15[1] = 500;
v15[2] = (unsigned int)&v16;
GameObject::getSaveString((GameObject *)v12, a2, a3);
fmt::BasicStringRef::BasicStringRef((unsigned __int8 **)&v10, v12);
fmt::BasicWriter::operator<<(v15, v10, v11);
std::string::~string((int)v12);
v10 = ",";
v11 = 0;
fmt::BasicWriter::operator<<(v15, ",", 0);
fmt::BasicWriter::operator<<(v15, 31);
v10 = ",";
v11 = 0;
fmt::BasicWriter::operator<<(v15, ",", 0);
std::string::basic_string(v13, (int)a2 + 1168);
LevelTools::base64EncodeString(v14, v13);
if ( (v14[0] & 1) != 0 )
v5 = (unsigned __int8 *)v14[2];
else
v5 = (unsigned __int8 *)v14 + 1;
v10 = (const char *)v5;
v11 = 0;
fmt::BasicWriter::operator<<(v15, (const char *)v5, 0);
std::string::~string((int)v14);
std::string::~string((int)v13);
if ( *((_DWORD *)a2 + 295) )
{
v10 = ",";
v11 = 0;
fmt::BasicWriter::operator<<(v15, ",", 0);
fmt::BasicWriter::operator<<(v15, 488);
v10 = ",";
v11 = 0;
fmt::BasicWriter::operator<<(v15, ",", 0);
fmt::BasicWriter::operator<<(v15, *((_DWORD *)a2 + 295));
}
v6 = (const char *)fmt::BasicWriter::c_str((int *)v15);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v7 = v6;
*((_DWORD *)this + 2) = 0;
v8 = strlen(v6);
std::string::__init((int *)this, v7, v8);
fmt::internal::Array::free((int)v15);
return this;
}