//
// sub_1002055A0 from 0x1002055a0 to 0x1002055f1 (81 bytes)
//
// 1 xrefs:
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c854e
//
// 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
//
__int64 __fastcall sub_1002055A0(__int64 a1, __int64 a2, void **a3)
{
int v4; // eax
void *v5; // rdi
_DWORD v7[3]; // [rsp+0h] [rbp-Ch] BYREF
v7[0] = 0;
v4 = sub_1002065E0(a1, a2, a3, v7, 0x100000);
v5 = *a3;
if ( v4 )
{
if ( v5 )
operator delete[](v5);
}
else if ( v5 )
{
return v7[0];
}
*a3 = nullptr;
return 0;
}