//
// SpawnParticleGameObject::create from 0x1001efc00 to 0x1001efc9c (156 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10059d6ed
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
SpawnParticleGameObject *__fastcall SpawnParticleGameObject::create()
{
SpawnParticleGameObject *v0; // rbx
v0 = (SpawnParticleGameObject *)operator new(0x750u);
EffectGameObject::EffectGameObject(v0);
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SpawnParticleGameObject_vtbl *)off_1008D7B70;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008D82B8;
v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008D8338;
sub_10028CC30(&v0->m_offset);
sub_10028CC30(&v0->m_offsetVariance);
v0->m_matchRotation = 0;
*(_OWORD *)&v0->m_rotation = xmmword_1008170A0;
if ( ((unsigned __int8 (__fastcall *)(SpawnParticleGameObject *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(SpawnParticleGameObject *))v0->~SpawnParticleGameObject_0)(v0);
return nullptr;
}
return v0;
}