//
// cocos2d::CCParticleSystemQuad::create from 0x1002536dc to 0x10025374c (112 bytes)
//
// 57 xrefs:
// > PlayerObject::playDeathEffect @ 0x100057ccc
// > PlayerObject::playDeathEffect @ 0x10005804c
// > PlayerObject::playDeathEffect @ 0x10005843c
// > PlayerObject::playDeathEffect @ 0x100058874
// > PlayerObject::playDeathEffect @ 0x100058cac
// > PlayerObject::playDeathEffect @ 0x100059198
// > PlayerObject::playDeathEffect @ 0x10005960c
// > PlayerObject::playDeathEffect @ 0x100059b0c
// > PlayerObject::playDeathEffect @ 0x100059eb4
// > PlayerObject::playDeathEffect @ 0x10005a2cc
// > PlayerObject::playDeathEffect @ 0x10005a670
// > PlayerObject::playDeathEffect @ 0x10005a99c
// > PlayerObject::playDeathEffect @ 0x10005ad6c
// > PlayerObject::playDeathEffect @ 0x10005b180
// > PlayerObject::playDeathEffect @ 0x10005b50c
// > PlayerObject::playDeathEffect @ 0x10005b8ec
// > PlayerObject::playDeathEffect @ 0x10005bcec
// > PlayerObject::playDeathEffect @ 0x10005bf40
// > PlayerObject::playDeathEffect @ 0x10005c1bc
// > ExplodeItemNode::createSprites @ 0x10005cadc
// > PlayerObject::playCompleteEffect @ 0x10005cedc
// > MapPackCell::playCompleteEffect @ 0x10010f548
// > PlayLayer::init @ 0x100115b7c
// > PlayLayer::showCompleteText @ 0x10011a850
// > PlayLayer::showCompleteText @ 0x10011a958
// > PlayLayer::spawnFirework @ 0x10011ad54
// > GJShopLayer::init @ 0x10014b1b4
// > GJChestSprite::switchToState @ 0x1001c6f5c
// > GJChestSprite::switchToState @ 0x1001c7578
// > GJBaseGameLayer::spawnParticle @ 0x1002041c0
// > GJBaseGameLayer::playSpeedParticle @ 0x100204300
// > GJBaseGameLayer::createParticle @ 0x100204754
// > PlayerObject::init @ 0x100217f8c
// > PlayerObject::init @ 0x100217fc8
// > PlayerObject::init @ 0x100218000
// > PlayerObject::init @ 0x100218038
// > PlayerObject::init @ 0x100218070
// > PlayerObject::init @ 0x1002180e4
// > PlayerObject::init @ 0x1002182fc
// > PlayerObject::init @ 0x100218380
// > PlayerObject::init @ 0x1002183b8
// > PlayerObject::init @ 0x10021841c
// > EndLevelLayer::starEnterFinished @ 0x1002f8498
// > EndLevelLayer::coinEnterFinished @ 0x1002f87e0
// > EndLevelLayer::currencyEnterFinished @ 0x1002f89dc
// > EndLevelLayer::diamondEnterFinished @ 0x1002f8acc
// > SecretLayer2::playCoinEffect @ 0x10030c5dc
// > SecretLayer3::onClick @ 0x10030f288
// > CurrencyRewardLayer::init @ 0x10031ecfc
// > CurrencyRewardLayer::init @ 0x10031f0e4
// > CurrencyRewardLayer::init @ 0x10031f4d0
// > CurrencyRewardLayer::init @ 0x10031f86c
// > CurrencyRewardLayer::createObjectsFull @ 0x100320a5c
// > CurrencyRewardLayer::createObjectsFull @ 0x100320cac
// > MenuGameLayer::destroyPlayer @ 0x10039b6b8
// > SecretLayer::playCoinEffect @ 0x1003beec8
// > LevelPage::playCoinEffect @ 0x100404f34
//
// 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::CCParticleSystemQuad *__fastcall cocos2d::CCParticleSystemQuad::create(const char *a1, bool a2)
{
cocos2d::CCParticleSystemQuad *v4; // x19
v4 = (cocos2d::CCParticleSystemQuad *)operator new(0x348u);
cocos2d::CCParticleSystemQuad::CCParticleSystemQuad((__int64)v4);
if ( cocos2d::CCParticleSystem::initWithFile(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))v4->~CCParticleSystemQuad_0)(v4);
return nullptr;
}
return v4;
}