//
// timerItemToString from 0x5ccd74 to 0x5ccf40 (460 bytes)
//
// 1 xrefs:
// > GJEffectManager::getPersistentStateString @ 0x5cfe54
//
// 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:53:58 +0000
//
int *__fastcall timerItemToString(int *a1, int a2)
{
int v4; // r1
unsigned int *v5; // r0
unsigned int *v6; // r0
unsigned int *v7; // r0
unsigned int *v8; // r0
unsigned int *v9; // r0
unsigned int *v10; // r0
unsigned int *v11; // r0
unsigned int *v12; // r0
unsigned int *v13; // r0
unsigned int *v14; // r0
unsigned int *v15; // r0
unsigned int *v16; // r0
unsigned int *v17; // r0
unsigned int *v18; // r0
unsigned int *v19; // r0
unsigned int *v20; // r0
unsigned int *v21; // r0
unsigned int *v22; // r0
unsigned int *v23; // r0
unsigned int *v24; // r0
unsigned int *v25; // r0
unsigned int i; // r8
const char *v27; // r0
const char *v28; // r4
size_t v29; // r0
unsigned int v31[3]; // [sp+5Ch] [bp-208h] BYREF
char v32; // [sp+68h] [bp-1FCh] BYREF
v4 = *(_DWORD *)a2;
v31[0] = 0;
v31[1] = 500;
v31[2] = (unsigned int)&v32;
v5 = fmt::BasicWriter::operator<<(v31, v4);
v6 = fmt::BasicWriter::operator<<(v5, "&", 0);
v7 = (unsigned int *)fmt::BasicWriter::operator<<((int)v6);
v8 = fmt::BasicWriter::operator<<(v7, "&", 0);
v9 = fmt::BasicWriter::operator<<(v8, *(unsigned __int8 *)(a2 + 16));
v10 = fmt::BasicWriter::operator<<(v9, "&", 0);
v11 = (unsigned int *)fmt::BasicWriter::operator<<((int)v10);
v12 = fmt::BasicWriter::operator<<(v11, "&", 0);
v13 = fmt::BasicWriter::operator<<(v12, *(unsigned __int8 *)(a2 + 24));
v14 = fmt::BasicWriter::operator<<(v13, "&", 0);
v15 = (unsigned int *)fmt::BasicWriter::operator<<((int)v14);
v16 = fmt::BasicWriter::operator<<(v15, "&", 0);
v17 = fmt::BasicWriter::operator<<(v16, *(unsigned __int8 *)(a2 + 40));
v18 = fmt::BasicWriter::operator<<(v17, "&", 0);
v19 = fmt::BasicWriter::operator<<(v18, *(_DWORD *)(a2 + 44));
v20 = fmt::BasicWriter::operator<<(v19, "&", 0);
v21 = fmt::BasicWriter::operator<<(v20, *(_DWORD *)(a2 + 48));
v22 = fmt::BasicWriter::operator<<(v21, "&", 0);
v23 = fmt::BasicWriter::operator<<(v22, *(_DWORD *)(a2 + 52));
v24 = fmt::BasicWriter::operator<<(v23, "&", 0);
v25 = fmt::BasicWriter::operator<<(v24, *(unsigned __int8 *)(a2 + 68));
fmt::BasicWriter::operator<<(v25, "&", 0);
for ( i = 0; i < (*(_DWORD *)(a2 + 60) - *(_DWORD *)(a2 + 56)) >> 2; ++i )
{
if ( i )
fmt::BasicWriter::operator<<(v31, "_", 0);
fmt::BasicWriter::operator<<(v31, *(_DWORD *)(*(_DWORD *)(a2 + 56) + 4 * i));
}
v27 = (const char *)fmt::BasicWriter::c_str((int *)v31);
*a1 = 0;
a1[1] = 0;
v28 = v27;
a1[2] = 0;
v29 = strlen(v27);
std::string::__init(a1, v28, v29);
fmt::internal::Array::free((int)v31);
return a1;
}