//
// cocos2d::CCParticleSystem::saveDefaults from 0xd70828 to 0xd708a4 (124 bytes)
//
// 3 xrefs:
// > GameToolbox::particleFromStruct @ 0x69dda0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0xd71988
// > ??> @ 0x4f258
//
// 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 13:07:59 +0000
//
void __fastcall cocos2d::CCParticleSystem::saveDefaults(cocos2d::CCParticleSystem *this)
{
int v2; // w2
int v3; // w4
int v4; // w3
int v5; // w0
float v6; // s0
__int64 v7; // x1
v2 = *((_DWORD *)this + 142);
v3 = *((_DWORD *)this + 140);
v4 = *((_DWORD *)this + 141);
*((_DWORD *)this + 188) = v2;
*((_DWORD *)this + 186) = v3;
*((_DWORD *)this + 187) = v4;
*((_DWORD *)this + 189) = v2;
cocos2d::CCPoint::operator=((float *)this + 193, (float *)this + 118);
v5 = *((_DWORD *)this + 173);
*((_DWORD *)this + 190) = *((_DWORD *)this + 122);
if ( !v5 )
{
v6 = (*(float (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)this + 1056LL))(this);
v7 = *(_QWORD *)this;
*((float *)this + 191) = v6;
*((float *)this + 192) = (*(float (__fastcall **)(cocos2d::CCParticleSystem *))(v7 + 1072))(this);
}
}