//
// cocos2d::CCParticleSystem::create from 0x1007c6bc0 to 0x1007c6c0d (77 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCParticleSystem *__fastcall cocos2d::CCParticleSystem::create(const char *a1)
{
cocos2d::CCParticleSystem *v1; // rbx
v1 = (cocos2d::CCParticleSystem *)operator new(0x310u);
cocos2d::CCParticleSystem::CCParticleSystem((__int64)v1);
if ( cocos2d::CCParticleSystem::initWithFile(v1, a1, 0) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
((void (__fastcall *)(cocos2d::CCParticleSystem *))v1->~CCParticleSystem_0)(v1);
return nullptr;
}
return v1;
}