//
// GJSmartTemplate::keyFromNeighborsOld from 0x53cbc4 to 0x53cc8c (200 bytes)
//
// 1 xrefs:
// > GJSmartTemplate::generateRemapDict @ 0x53ce32
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
GJSmartTemplate *__fastcall GJSmartTemplate::keyFromNeighborsOld(
GJSmartTemplate *this,
int a2,
int a3,
int a4,
bool a5,
bool a6,
bool a7,
bool a8,
bool a9)
{
unsigned int v13; // r7
unsigned int v15; // [sp+4h] [bp-208h] BYREF
unsigned int v16; // [sp+8h] [bp-204h]
char *v17; // [sp+Ch] [bp-200h]
char v18; // [sp+10h] [bp-1FCh] BYREF
v15 = 0;
v16 = 500;
v17 = &v18;
fmt::BasicWriter::operator<<(&v15, 1);
fmt::BasicWriter::operator<<(&v15, a2);
fmt::BasicWriter::operator<<(&v15, a3);
fmt::BasicWriter::operator<<(&v15, a4);
fmt::BasicWriter::operator<<(&v15, a5);
fmt::BasicWriter::operator<<(&v15, a6);
fmt::BasicWriter::operator<<(&v15, a7);
fmt::BasicWriter::operator<<(&v15, a8);
fmt::BasicWriter::operator<<(&v15, a9);
v13 = v15;
if ( v15 + 1 > v16 )
fmt::internal::Array::grow((int)&v15, v15 + 1);
v17[v13] = 0;
sub_776584((int)this, v17);
fmt::internal::Array::free((int)&v15);
return this;
}