//
// GJGameLevel::dtSetCells from 0x4d6fac to 0x4d70b4 (264 bytes)
//
// 1 xrefs:
// > PlayLayer::dtFlushCells @ 0x72c98c
//
// 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:50:53 +0000
//
void __fastcall GJGameLevel::dtSetCells(int a1, _DWORD *a2)
{
int v3; // r7
int v5; // r3
int v6; // r9
unsigned int *v7; // r0
unsigned int *v8; // r0
unsigned int *v9; // r0
unsigned int *v10; // r0
unsigned int *v11; // r0
unsigned int *v12; // r0
char *v13; // r0
unsigned int v14[3]; // [sp+2Ch] [bp-208h] BYREF
char v15; // [sp+38h] [bp-1FCh] BYREF
v3 = 12;
v5 = 0;
v14[1] = 500;
v14[0] = 0;
v14[2] = (unsigned int)&v15;
while ( 1 )
{
v6 = v5 + 4;
if ( v5 + 4 > (unsigned int)((a2[1] - *a2) >> 2) )
break;
if ( v5 )
fmt::BasicWriter::operator<<(v14, ",", 0);
v7 = fmt::BasicWriter::operator<<(v14, *(_DWORD *)(*a2 + v3 - 12));
v8 = fmt::BasicWriter::operator<<(v7, ",", 0);
v9 = fmt::BasicWriter::operator<<(v8, *(_DWORD *)(*a2 + v3 - 8));
v10 = fmt::BasicWriter::operator<<(v9, ",", 0);
v11 = fmt::BasicWriter::operator<<(v10, *(_DWORD *)(*a2 + v3 - 4));
v12 = fmt::BasicWriter::operator<<(v11, ",", 0);
fmt::BasicWriter::operator<<(v12, *(_DWORD *)(*a2 + v3));
v3 += 16;
v5 = v6;
}
v13 = (char *)fmt::BasicWriter::c_str((int *)v14);
std::string::assign((int *)(a1 + 1288), v13);
fmt::internal::Array::free((int)v14);
}