//
// GJBaseGameLayer::getParticleKey2 from 0x14034a150 to 0x14034a1f9 (169 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::createParticle @ 0x14034a4a6
// > GJBaseGameLayer::claimParticle @ 0x14034a745
// > GJBaseGameLayer::unclaimParticle @ 0x14034a962
// > ??> @ 0x14091ffdc
//
// This function is hookable on this platform (idp: pc, 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 11:30:44 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall GJBaseGameLayer::getParticleKey2(__int64 a1, _QWORD *a2, const char *a3)
{
const char *v5; // rdx
cocos2d::CCString *v6; // rax
const char *CString; // rax
size_t v8; // r8
v5 = a3;
if ( *((_QWORD *)a3 + 3) > 0xFu )
v5 = *(const char **)a3;
v6 = cocos2d::CCString::createWithFormat("%s%s", v5, "#2");
CString = cocos2d::CCString::getCString(v6);
*(_OWORD *)a2 = 0;
a2[2] = 0;
a2[3] = 0;
v8 = -1;
do
++v8;
while ( CString[v8] );
sub_14003D230(a2, CString, v8);
sub_14003D310((__int64)a3);
return a2;
}