//
// cocos2d::CCParticleSystemQuad::create from 0x1006da500 to 0x1006da5b1 (177 bytes)
//
// 62 xrefs:
// > PlayLayer::init @ 0x100079abc
// > PlayLayer::showCompleteText @ 0x1000820c6
// > PlayLayer::showCompleteText @ 0x1000821e7
// > PlayLayer::spawnFirework @ 0x100082a86
// > GJBaseGameLayer::spawnParticle @ 0x10013c0d5
// > GJBaseGameLayer::playSpeedParticle @ 0x10013c1f6
// > GJBaseGameLayer::createParticle @ 0x10013cb7f
// > PlayerObject::playDeathEffect @ 0x1001efa48
// > PlayerObject::playDeathEffect @ 0x1001f00cf
// > PlayerObject::playDeathEffect @ 0x1001f079f
// > PlayerObject::playDeathEffect @ 0x1001f0e32
// > PlayerObject::playDeathEffect @ 0x1001f1274
// > PlayerObject::playDeathEffect @ 0x1001f19ec
// > PlayerObject::playDeathEffect @ 0x1001f2060
// > PlayerObject::playDeathEffect @ 0x1001f273b
// > PlayerObject::playDeathEffect @ 0x1001f2ae7
// > PlayerObject::playDeathEffect @ 0x1001f3076
// > PlayerObject::playDeathEffect @ 0x1001f3622
// > PlayerObject::playDeathEffect @ 0x1001f3e0e
// > PlayerObject::playDeathEffect @ 0x1001f43fa
// > PlayerObject::playDeathEffect @ 0x1001f4a56
// > PlayerObject::playDeathEffect @ 0x1001f4d48
// > PlayerObject::playDeathEffect @ 0x1001f534b
// > PlayerObject::playDeathEffect @ 0x1001f596e
// > PlayerObject::playDeathEffect @ 0x1001f5fad
// > PlayerObject::playDeathEffect @ 0x1001f61e9
// > PlayerObject::playDeathEffect @ 0x1001f6679
// > ExplodeItemNode::createSprites @ 0x1001f72b0
// > PlayerObject::playCompleteEffect @ 0x1001f767c
// > GJChestSprite::switchToState @ 0x100201dab
// > GJChestSprite::switchToState @ 0x100202336
// > MapPackCell::playCompleteEffect @ 0x10023b646
// > MapSelectLayer::checkTouchMonster @ 0x10025346a
// > GJShopLayer::init @ 0x10030f372
// > sub_10039E030 @ 0x10039e08c
// > GJWorldNode::unlockActiveItem @ 0x1003ac7df
// > PlayerObject::init @ 0x1003e849a
// > PlayerObject::init @ 0x1003e84e6
// > PlayerObject::init @ 0x1003e852b
// > PlayerObject::init @ 0x1003e8570
// > PlayerObject::init @ 0x1003e85b5
// > PlayerObject::init @ 0x1003e863d
// > PlayerObject::init @ 0x1003e8845
// > PlayerObject::init @ 0x1003e88bb
// > PlayerObject::init @ 0x1003e8931
// > PlayerObject::init @ 0x1003e8976
// > PlayerObject::init @ 0x1003e89f0
// > LevelPage::playCoinEffect @ 0x10042420f
// > sub_100499DE0 @ 0x100499e3c
// > SecretLayer3::onClick @ 0x10049df49
// > EndLevelLayer::starEnterFinished @ 0x1004bc28b
// > EndLevelLayer::coinEnterFinished @ 0x1004bc5dd
// > EndLevelLayer::currencyEnterFinished @ 0x1004bc7db
// > EndLevelLayer::diamondEnterFinished @ 0x1004bc8db
// > MenuGameLayer::destroyPlayer @ 0x1004f9e59
// > sub_1006D3C70 @ 0x1006d3ccc
// > CurrencyRewardLayer::init @ 0x1008895f8
// > CurrencyRewardLayer::init @ 0x100889a06
// > CurrencyRewardLayer::init @ 0x100889e17
// > CurrencyRewardLayer::init @ 0x10088a1c7
// > CurrencyRewardLayer::createObjectsFull @ 0x10088b821
// > CurrencyRewardLayer::createObjectsFull @ 0x10088ba6e
//
// This function is hookable on this platform (idp: pc, 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 12:35:42 +0000
//
_QWORD *__fastcall cocos2d::CCParticleSystemQuad::create(__int64 a1, unsigned __int8 a2)
{
_QWORD *v2; // rbx
v2 = operator new(0x348u);
cocos2d::CCParticleSystem::CCParticleSystem(v2);
*v2 = off_100B91928;
v2[40] = off_100B91FA8;
*((_OWORD *)v2 + 49) = 0;
*((_DWORD *)v2 + 200) = 0;
sub_1002787A0((_QWORD *)((char *)v2 + 812));
*((_WORD *)v2 + 416) = 0;
*((_BYTE *)v2 + 834) = -1;
*(_QWORD *)((char *)v2 + 804) = 0;
if ( (unsigned __int8)cocos2d::CCParticleSystem::initWithFile(v2, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);
return nullptr;
}
return v2;
}