//
// cocos2d::CCParticleGalaxy::create from 0xd6d98c to 0xd6da10 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0xea670
//
// 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::CCParticleGalaxy::create(cocos2d::CCParticleGalaxy *this)
{
cocos2d::CCParticleSystemQuad *v1; // x19
v1 = (cocos2d::CCParticleSystemQuad *)operator new(0x348u);
cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(v1);
*(_QWORD *)v1 = &off_1528F60;
*((_QWORD *)v1 + 40) = &off_15295E8;
if ( (unsigned __int8)cocos2d::CCParticleGalaxy::initWithTotalParticles(v1, 0xC8u) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}