//
// GJEffectManager::keyForGroupIDColor from 0x8b98fc to 0x8b9ad4 (472 bytes)
//
// 1 xrefs:
// > ??> @ 0x4e960
//
// 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
//
const char *GJEffectManager::keyForGroupIDColor(GJEffectManager *a1, int a2, const cocos2d::ccColor3B *a3, bool 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
const char *v11; // x19
size_t v13; // [xsp+78h] [xbp+78h] BYREF
unsigned __int64 v14; // [xsp+80h] [xbp+80h]
char *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] = aOSecret[8];
fmt::BasicWriter::FormatInt,char>>(&v13, a3->r);
fmt::BasicWriter::FormatInt,char>>(&v13, a3->g);
fmt::BasicWriter::FormatInt,char>>(&v13, a3->b);
v8 = v13;
v9 = v13 + 1;
if ( v13 + 1 > v14 )
fmt::internal::Array::grow(&v13, v13 + 1);
v13 = v9;
v15[v8] = aOSecret[8];
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;
}