//
// cocos2d::CCParticleSystemQuad::create from 0x1002f083c to 0x1002f08ac (112 bytes)
//
// 57 xrefs:
// > PlayerObject::playDeathEffect @ 0x10006044c
// > PlayerObject::playDeathEffect @ 0x1000607cc
// > PlayerObject::playDeathEffect @ 0x100060bbc
// > PlayerObject::playDeathEffect @ 0x100060ff4
// > PlayerObject::playDeathEffect @ 0x10006142c
// > PlayerObject::playDeathEffect @ 0x100061918
// > PlayerObject::playDeathEffect @ 0x100061d8c
// > PlayerObject::playDeathEffect @ 0x10006228c
// > PlayerObject::playDeathEffect @ 0x100062634
// > PlayerObject::playDeathEffect @ 0x100062a4c
// > PlayerObject::playDeathEffect @ 0x100062df0
// > PlayerObject::playDeathEffect @ 0x10006311c
// > PlayerObject::playDeathEffect @ 0x1000634ec
// > PlayerObject::playDeathEffect @ 0x100063900
// > PlayerObject::playDeathEffect @ 0x100063c8c
// > PlayerObject::playDeathEffect @ 0x10006406c
// > PlayerObject::playDeathEffect @ 0x10006446c
// > PlayerObject::playDeathEffect @ 0x1000646c0
// > PlayerObject::playDeathEffect @ 0x10006493c
// > ExplodeItemNode::createSprites @ 0x10006525c
// > sub_100065528 @ 0x10006565c
// > MapPackCell::playCompleteEffect @ 0x100136d44
// > PlayLayer::init @ 0x10013e634
// > PlayLayer::showCompleteText @ 0x10014384c
// > PlayLayer::showCompleteText @ 0x100143954
// > PlayLayer::spawnFirework @ 0x100143d50
// > GJShopLayer::init @ 0x1001c9aac
// > GJChestSprite::switchToState @ 0x10025cb14
// > GJChestSprite::switchToState @ 0x10025d130
// > GJBaseGameLayer::spawnParticle @ 0x1002a0fc8
// > GJBaseGameLayer::playSpeedParticle @ 0x1002a1108
// > GJBaseGameLayer::createParticle @ 0x1002a155c
// > PlayerObject::init @ 0x1002b4a4c
// > PlayerObject::init @ 0x1002b4a88
// > PlayerObject::init @ 0x1002b4ac0
// > PlayerObject::init @ 0x1002b4af8
// > PlayerObject::init @ 0x1002b4b30
// > PlayerObject::init @ 0x1002b4ba4
// > PlayerObject::init @ 0x1002b4dbc
// > PlayerObject::init @ 0x1002b4e40
// > PlayerObject::init @ 0x1002b4e78
// > PlayerObject::init @ 0x1002b4edc
// > sub_100394D68 @ 0x100394dbc
// > EndLevelLayer::coinEnterFinished @ 0x100395104
// > sub_1003952C0 @ 0x100395300
// > sub_1003953B0 @ 0x1003953f0
// > sub_1003A9298 @ 0x1003a92f4
// > SecretLayer3::onClick @ 0x1003abfa0
// > sub_1003BC4EC @ 0x1003bc9f8
// > sub_1003BC4EC @ 0x1003bcde0
// > sub_1003BC4EC @ 0x1003bd1cc
// > sub_1003BC4EC @ 0x1003bd568
// > sub_1003BE1A8 @ 0x1003be758
// > sub_1003BE1A8 @ 0x1003be9a8
// > MenuGameLayer::destroyPlayer @ 0x100442c90
// > sub_100465B9C @ 0x100465bf8
// > sub_10048595C @ 0x10048599c
//
// This function is hookable on this platform (idp: arm, 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 11:02:55 +0000
//
void *__fastcall cocos2d::CCParticleSystemQuad::create(char *a1, __int64 a2)
{
void *v4; // x19
v4 = operator new(0x348u);
cocos2d::CCParticleSystemQuad::CCParticleSystemQuad((__int64)v4);
if ( (unsigned int)cocos2d::CCParticleSystem::initWithFile((__int64)v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}