//
// GJBaseGameLayer::unclaimCustomParticle from 0x10015e320 to 0x10015e3c7 (167 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008b7400
// > ??> @ 0x1008c1980
//
// 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
//
void __fastcall GJBaseGameLayer::unclaimCustomParticle(_QWORD *a1, __int64 a2, __int64 a3)
{
__int64 v4; // rax
__int64 v5; // r12
__int64 v6; // r15
__int64 v7; // rdi
if ( a3 )
{
v4 = cocos2d::CCDictionary::objectForKey_1(a1[1516], a2);
if ( v4 )
{
v5 = v4;
v6 = cocos2d::CCDictionary::objectForKey_1(a1[1523], a2);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a3 + 896LL))(a3) )
v7 = a1[1517];
else
v7 = v5;
sub_10071FCD0(v7, a3);
sub_100720220(v6, a3, 1);
cocos2d::CCParticleSystem::stopSystem((cocos2d::CCParticleSystem *)a3);
*(_BYTE *)(a3 + 689) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a3 + 1568LL))(a3, 1);
}
}
}