//
// cocos2d::CCParticleSystem::saveDefaults from 0x1007c88f0 to 0x1007c8979 (137 bytes)
//
// 1 xrefs:
// > GameToolbox::particleFromStruct @ 0x1004f6524
//
// 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::saveDefaults(cocos2d::CCParticleSystem *a1)
{
*(__m128 *)&a1->m_fDefaultStartSize = _mm_shuffle_ps(
_mm_movelh_ps(
(__m128)LODWORD(a1->m_fStartSize),
(__m128)*(unsigned __int64 *)&a1->m_fStartSizeVar),
(__m128)*(unsigned __int64 *)&a1->m_fStartSizeVar,
88);
sub_10028CC90(&a1->m_tDefaultPosVar, (double *)&a1->m_tPosVar);
a1->m_fDefaultAngle = a1->m_fAngle;
if ( !a1->m_nEmitterMode )
{
a1->m_fDefaultModeASpeed = ((float (__fastcall *)(cocos2d::CCParticleSystem *))a1->getSpeed)(a1);
a1->m_fDefaultModeASpeedVar = ((float (__fastcall *)(cocos2d::CCParticleSystem *))a1->getSpeedVar)(a1);
}
}