//
// cocos2d::CCParticleSystem::saveDefaults from 0x1008b0190 to 0x1008b0219 (137 bytes)
//
// 1 xrefs:
// > GameToolbox::particleFromStruct @ 0x1004f3de4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:37:20 +0000
//
void __fastcall cocos2d::CCParticleSystem::saveDefaults(__int64 a1)
{
*(__m128 *)(a1 + 744) = _mm_shuffle_ps(
_mm_movelh_ps((__m128)*(unsigned int *)(a1 + 560), (__m128)*(unsigned __int64 *)(a1 + 564)),
(__m128)*(unsigned __int64 *)(a1 + 564),
88);
sub_100278300((_QWORD *)(a1 + 772), (_QWORD *)(a1 + 472));
*(_DWORD *)(a1 + 760) = *(_DWORD *)(a1 + 488);
if ( !*(_DWORD *)(a1 + 692) )
{
*(float *)(a1 + 764) = (*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 1056LL))(a1);
*(float *)(a1 + 768) = (*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);
}
}