//
// GJBaseGameLayer::getParticleKey from 0x48e284 to 0x48e326 (162 bytes)
//
// 2 xrefs:
// > GameObject::createAndAddParticle @ 0x35512a
// > GJBaseGameLayer::createParticle @ 0x48e36a
//
// 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
//
int __fastcall GJBaseGameLayer::getParticleKey(int a1, int a2, int a3, char *a4, int a5, int a6)
{
char *v8; // r0
char *v10[2]; // [sp+4h] [bp-210h] BYREF
unsigned int v11[3]; // [sp+Ch] [bp-208h] BYREF
char v12; // [sp+18h] [bp-1FCh] BYREF
v11[0] = 0;
v11[1] = 500;
v11[2] = (unsigned int)&v12;
fmt::BasicWriter::operator<<(v11, a3);
v10[0] = a4;
v10[1] = nullptr;
fmt::BasicWriter::operator<<(v11, a4, 0);
fmt::BasicWriter::operator<<(v11, a5);
fmt::BasicWriter::operator<<(v11, a6);
v8 = (char *)fmt::BasicWriter::c_str((int *)v11);
sub_776584((int)v10, v8);
sub_776584(a1, v10[0]);
sub_774008(v10);
fmt::internal::Array::free((int)v11);
return a1;
}