//
// cocos2d::CCParticleSystemQuad::create from 0x7e64ac to 0x7e64e4 (56 bytes)
//
// 61 xrefs:
// > PlayLayer::spawnFirework @ 0x3ff33e
// > PlayLayer::showCompleteText @ 0x3ffb66
// > PlayLayer::showCompleteText @ 0x3ffbfe
// > PlayLayer::init @ 0x40b070
// > MapPackCell::playCompleteEffect @ 0x427c36
// > PlayerObject::init @ 0x4477b0
// > PlayerObject::init @ 0x4477e0
// > PlayerObject::init @ 0x44780c
// > PlayerObject::init @ 0x447838
// > PlayerObject::init @ 0x447864
// > PlayerObject::init @ 0x4478c4
// > PlayerObject::init @ 0x447b04
// > PlayerObject::init @ 0x447ba0
// > PlayerObject::init @ 0x447bcc
// > PlayerObject::init @ 0x447c1e
// > MenuGameLayer::destroyPlayer @ 0x492cfe
// > LevelPage::playCoinEffect @ 0x513092
// > EndLevelLayer::coinEnterFinished @ 0x53556c
// > EndLevelLayer::starEnterFinished @ 0x5358a2
// > EndLevelLayer::currencyEnterFinished @ 0x53596e
// > EndLevelLayer::diamondEnterFinished @ 0x535a2a
// > GJBaseGameLayer::spawnParticle @ 0x596ed6
// > GJBaseGameLayer::playSpeedParticle @ 0x596fbc
// > GJBaseGameLayer::createParticle @ 0x5bed88
// > SecretLayer::playCoinEffect @ 0x5fcbb2
// > CurrencyRewardLayer::createObjectsFull @ 0x604fb6
// > CurrencyRewardLayer::createObjectsFull @ 0x605176
// > CurrencyRewardLayer::init @ 0x6058da
// > CurrencyRewardLayer::init @ 0x605c30
// > CurrencyRewardLayer::init @ 0x605f7a
// > CurrencyRewardLayer::init @ 0x60625e
// > GJShopLayer::init @ 0x6132a0
// > GJChestSprite::switchToState @ 0x6180b2
// > GJChestSprite::switchToState @ 0x6185ee
// > SecretLayer2::playCoinEffect @ 0x61a9ae
// > SecretLayer3::onClick @ 0x61c780
// > SecretLayer4::playCoinEffect @ 0x620ee2
// > GJWorldNode::unlockActiveItem @ 0x62e91a
// > MapSelectLayer::checkTouchMonster @ 0x63fa46
// > PlayerObject::playCompleteEffect @ 0x69e4ba
// > ExplodeItemNode::createSprites @ 0x69ec2e
// > PlayerObject::playDeathEffect @ 0x69f084
// > PlayerObject::playDeathEffect @ 0x69f3ae
// > PlayerObject::playDeathEffect @ 0x69f732
// > PlayerObject::playDeathEffect @ 0x69fab8
// > PlayerObject::playDeathEffect @ 0x69fe40
// > PlayerObject::playDeathEffect @ 0x6a0154
// > PlayerObject::playDeathEffect @ 0x6a04a2
// > PlayerObject::playDeathEffect @ 0x6a0846
// > PlayerObject::playDeathEffect @ 0x6a0c1e
// > PlayerObject::playDeathEffect @ 0x6a0fec
// > PlayerObject::playDeathEffect @ 0x6a1378
// > PlayerObject::playDeathEffect @ 0x6a1700
// > PlayerObject::playDeathEffect @ 0x6a1b22
// > PlayerObject::playDeathEffect @ 0x6a1ef6
// > PlayerObject::playDeathEffect @ 0x6a2290
// > PlayerObject::playDeathEffect @ 0x6a260a
// > PlayerObject::playDeathEffect @ 0x6a2952
// > PlayerObject::playDeathEffect @ 0x6a2cf4
// > PlayerObject::playDeathEffect @ 0x6a3030
// > PlayerObject::playDeathEffect @ 0x6a3240
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:54 +0000
//
cocos2d::CCParticleSystemQuad *__fastcall cocos2d::CCParticleSystemQuad::create(
cocos2d::CCParticleSystemQuad *this,
const char *a2,
bool a3)
{
cocos2d::CCParticleSystemQuad *v5; // r4
int v6; // r3
cocos2d::CCParticleSystemQuad *v7; // r0
v5 = (cocos2d::CCParticleSystemQuad *)operator new(0x2E8u);
cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(v5);
if ( cocos2d::CCParticleSystem::initWithFile(v5, (const char *)this, (int)a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = v5;
v5 = nullptr;
(*(void (__fastcall **)(cocos2d::CCParticleSystemQuad *))(v6 + 8))(v7);
}
return v5;
}