//
// cocos2d::CCParticleMeteor::createWithTotalParticles from 0xd6dc30 to 0xd6dcbc (140 bytes)
//
// 1 xrefs:
// > ??> @ 0xcd708
//
// 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 13:07:57 +0000
//
cocos2d::CCParticleSystemQuad *__fastcall cocos2d::CCParticleMeteor::createWithTotalParticles(
cocos2d::CCParticleMeteor *this)
{
cocos2d::CCParticleSystemQuad *v1; // x19
unsigned int v3; // [xsp+28h] [xbp+28h]
v3 = (unsigned int)this;
v1 = (cocos2d::CCParticleSystemQuad *)operator new(0x348u);
cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(v1);
*(_QWORD *)v1 = &off_1529CE0;
*((_QWORD *)v1 + 40) = &off_152A368;
if ( (unsigned __int8)cocos2d::CCParticleMeteor::initWithTotalParticles(v1, v3) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}