//
// cocos2d::CCParticleSystem::loadDefaults from 0xb01c10 to 0xb01c88 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x3e8b0
//
// 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 cocos2d::CCParticleSystem::loadDefaults(cocos2d::CCParticleSystem *a1)
{
float v1; // s0
float v2; // s1
float m_fDefaultStartSizeVar; // w3
float m_fDefaultEndSize; // w2
int m_nEmitterMode; // w0
m_fDefaultStartSizeVar = a1->m_fDefaultStartSizeVar;
m_fDefaultEndSize = a1->m_fDefaultEndSize;
a1->m_fStartSize = a1->m_fDefaultStartSize;
a1->m_fStartSizeVar = m_fDefaultStartSizeVar;
a1->m_fEndSize = m_fDefaultEndSize;
cocos2d::CCPoint::operator=(&a1->m_tPosVar, v1, v2, (float *)&a1->m_tDefaultPosVar);
m_nEmitterMode = a1->m_nEmitterMode;
a1->m_fAngle = a1->m_fDefaultAngle;
if ( !m_nEmitterMode )
{
a1->setSpeed(a1, a1->m_fDefaultModeASpeed);
a1->setSpeedVar(a1, a1->m_fDefaultModeASpeedVar);
}
}