//
// GJEffectManager::keyForGroupIDColor from 0xa0f9b8 to 0xa0fb90 (472 bytes)
//
// 1 xrefs:
// > ??> @ 0x6df78
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:27 +0000
//
void *__fastcall GJEffectManager::keyForGroupIDColor(
__int64 a1,
unsigned int a2,
unsigned __int8 *a3,
unsigned __int8 a4)
{
unsigned int v4; // w21
size_t v6; // x25
size_t v7; // x24
size_t v8; // x24
size_t v9; // x23
size_t v10; // x21
void *v11; // x19
size_t v13; // [xsp+78h] [xbp+78h] BYREF
unsigned __int64 v14; // [xsp+80h] [xbp+80h]
_BYTE *v15; // [xsp+88h] [xbp+88h]
_BYTE v16[504]; // [xsp+90h] [xbp+90h] BYREF
v4 = a4;
v13 = 0;
v14 = 500;
v15 = v16;
fmt::BasicWriter::FormatInt,char>>(&v13, a2);
v6 = v13;
v7 = v13 + 1;
if ( v13 + 1 > v14 )
fmt::internal::Array::grow(&v13, v13 + 1);
v13 = v7;
v15[v6] = 95;
fmt::BasicWriter::FormatInt,char>>(&v13, *a3);
fmt::BasicWriter::FormatInt,char>>(&v13, a3[1]);
fmt::BasicWriter::FormatInt,char>>(&v13, a3[2]);
v8 = v13;
v9 = v13 + 1;
if ( v13 + 1 > v14 )
fmt::internal::Array::grow(&v13, v13 + 1);
v13 = v9;
v15[v8] = 95;
fmt::BasicWriter::FormatInt,char>>(&v13, v4);
v10 = v13;
if ( v14 < v13 + 1 )
fmt::internal::Array::grow(&v13, v13 + 1);
v15[v10] = 0;
v11 = v15;
if ( v15 != v16 && v15 )
operator delete[](v15);
return v11;
}