//
// cocos2d::CCParticleSystem::loadDefaults from 0x180068d40 to 0x180068dc9 (137 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3bf4
//
// 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
//
void __fastcall cocos2d::CCParticleSystem::loadDefaults(cocos2d::CCParticleSystem *this)
{
bool v2; // zf
this->m_fStartSize = this->m_fDefaultStartSize;
this->m_fStartSizeVar = this->m_fDefaultStartSizeVar;
this->m_fEndSize = this->m_fDefaultEndSize;
cocos2d::CCSize::operator=(&this->m_tPosVar, &this->m_tDefaultPosVar);
v2 = this->m_nEmitterMode == 0;
this->m_fAngle = this->m_fDefaultAngle;
if ( v2 )
{
((void (__fastcall *)(cocos2d::CCParticleSystem *))this->setSpeed)(this);
((void (__fastcall *)(cocos2d::CCParticleSystem *))this->setSpeedVar)(this);
}
}