//
// GJBaseGameLayer::unclaimCustomParticle from 0x10013da50 to 0x10013daf7 (167 bytes)
//
// 2 xrefs:
// > ??> @ 0x100abb0e0
// > ??> @ 0x100ac51a8
//
// 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 12:24:53 +0000
//
void __fastcall GJBaseGameLayer::unclaimCustomParticle(_QWORD *a1, __int64 a2, _BYTE *a3)
{
__int64 v4; // rax
__int64 v5; // r12
__int64 v6; // r15
__int64 v7; // rdi
if ( a3 )
{
v4 = cocos2d::CCDictionary::objectForKey(a1[1536], a2);
if ( v4 )
{
v5 = v4;
v6 = cocos2d::CCDictionary::objectForKey(a1[1543], a2);
if ( (*(unsigned int (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 912LL))(a3) )
v7 = a1[1537];
else
v7 = v5;
sub_1007FEBF0(v7, a3);
sub_1007FF140(v6, a3, 1);
cocos2d::CCParticleSystem::stopSystem(a3);
a3[689] = 1;
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a3 + 1584LL))(a3, 1);
}
}
}