//
// cocos2d::CCParticleSystem::saveDefaults from 0x18006b130 to 0x18006b1bf (143 bytes)
//
// 3 xrefs:
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a51b
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bdf78
//
// 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 11:21:54 +0000
//
void __fastcall cocos2d::CCParticleSystem::saveDefaults(cocos2d::CCParticleSystem *this)
{
int v1; // xmm0_4
bool v3; // zf
float v4; // xmm0_4
__int64 v5; // rax
v1 = *((_DWORD *)this + 144);
*((_DWORD *)this + 188) = *((_DWORD *)this + 142);
*((_DWORD *)this + 189) = *((_DWORD *)this + 143);
*((_DWORD *)this + 190) = v1;
*((_DWORD *)this + 191) = v1;
cocos2d::CCSize::operator=((_DWORD *)this + 195, (_DWORD *)this + 120);
v3 = *((_DWORD *)this + 175) == 0;
*((_DWORD *)this + 192) = *((_DWORD *)this + 124);
if ( v3 )
{
v4 = (*(float (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)this + 1048LL))(this);
v5 = *(_QWORD *)this;
*((float *)this + 193) = v4;
*((float *)this + 194) = (*(float (__fastcall **)(cocos2d::CCParticleSystem *))(v5 + 1064))(this);
}
}