//
// cocos2d::CCParticleSystem::loadDefaults from 0xd708a4 to 0xd7091c (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x5a430
//
// 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
//
__int64 __fastcall cocos2d::CCParticleSystem::loadDefaults(cocos2d::CCParticleSystem *this)
{
int v2; // w3
int v3; // w2
__int64 result; // x0
v2 = *((_DWORD *)this + 187);
v3 = *((_DWORD *)this + 189);
*((_DWORD *)this + 140) = *((_DWORD *)this + 186);
*((_DWORD *)this + 141) = v2;
*((_DWORD *)this + 142) = v3;
cocos2d::CCPoint::operator=((float *)this + 118, (float *)this + 193);
result = *((unsigned int *)this + 173);
*((_DWORD *)this + 122) = *((_DWORD *)this + 190);
if ( !(_DWORD)result )
{
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, float))(*(_QWORD *)this + 1064LL))(
this,
*((float *)this + 191));
return (*(__int64 (__fastcall **)(cocos2d::CCParticleSystem *, float))(*(_QWORD *)this + 1080LL))(
this,
*((float *)this + 192));
}
return result;
}