//
// cocos2d::CCParticleSystem::loadDefaults from 0x5dcef8 to 0x5dcf4c (84 bytes)
//
// 0 xrefs:
//
// 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)
{
int v1; // r2
cocos2d::CCPoint *p_m_tDefaultPosVar; // r1
float m_fDefaultStartSizeVar; // r3
cocos2d::CCPoint *p_m_tPosVar; // r0
float y; // r3
a1->m_fStartSize = a1->m_fDefaultStartSize;
p_m_tDefaultPosVar = &a1->m_tDefaultPosVar;
m_fDefaultStartSizeVar = a1->m_fDefaultStartSizeVar;
p_m_tPosVar = &a1->m_tPosVar;
p_m_tPosVar[11].x = m_fDefaultStartSizeVar;
y = p_m_tPosVar[34].y;
p_m_tPosVar[11].y = y;
cocos2d::CCPoint::operator=(p_m_tPosVar, &p_m_tDefaultPosVar->x, v1, SLOBYTE(y));
a1->m_fAngle = a1->m_fDefaultAngle;
if ( !a1->m_nEmitterMode )
{
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))a1->setSpeed)(a1, LODWORD(a1->m_fDefaultModeASpeed));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))a1->setSpeedVar)(
a1,
LODWORD(a1->m_fDefaultModeASpeedVar));
}
}