//
// cocos2d::CCParticleSystem::saveDefaults from 0x10022784c to 0x1002278c4 (120 bytes)
//
// 2 xrefs:
// > GameToolbox::particleFromStruct @ 0x10004df4c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002272b0
//
// This function is hookable on this platform (idp: arm, 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 11:01:11 +0000
//
void __fastcall cocos2d::CCParticleSystem::saveDefaults(__int64 a1)
{
__int128 v2; // q0
*(_QWORD *)&v2 = *(_QWORD *)(a1 + 560);
DWORD2(v2) = *(_DWORD *)(a1 + 568);
HIDWORD(v2) = DWORD2(v2);
*(_OWORD *)(a1 + 744) = v2;
sub_10002630C((_QWORD *)(a1 + 772), (double *)(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);
}
}