//
// cocos2d::CCParticleSystem::loadScaledDefaults from 0xd7091c to 0xd709e8 (204 bytes)
//
// 15 xrefs:
// > PlayerObject::togglePlayerScale @ 0x75ce94
// > PlayerObject::togglePlayerScale @ 0x75cea0
// > PlayerObject::togglePlayerScale @ 0x75ceac
// > PlayerObject::togglePlayerScale @ 0x75ceb8
// > PlayerObject::togglePlayerScale @ 0x75cec4
// > PlayerObject::togglePlayerScale @ 0x75ced0
// > PlayerObject::togglePlayerScale @ 0x75cedc
// > PlayerObject::togglePlayerScale @ 0x75cee8
// > PlayerObject::togglePlayerScale @ 0x75cef4
// > PlayerObject::togglePlayerScale @ 0x75cf00
// > PlayerObject::togglePlayerScale @ 0x75cf0c
// > GameObject::claimParticle @ 0x775c70
// > ParticleGameObject::updateParticleScale @ 0x871ed4
// > GameObject::spawnDefaultPickupParticle @ 0xaf35b8
// > ??> @ 0x7ceb8
//
// 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::loadScaledDefaults(cocos2d::CCParticleSystem *this, float a2)
{
float v3; // s2
float v4; // s1
float v7; // [xsp+40h] [xbp+40h] BYREF
v3 = *((float *)this + 187);
v4 = *((float *)this + 189);
*((float *)this + 140) = *((float *)this + 186) * a2;
*((float *)this + 141) = v3 * a2;
*((float *)this + 142) = v4 * a2;
cocos2d::CCPoint::operator*((float *)this + 193, &v7, a2);
cocos2d::CCPoint::operator=((float *)this + 118, &v7);
if ( !*((_DWORD *)this + 173) )
{
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, float))(*(_QWORD *)this + 1064LL))(
this,
a2 * *((float *)this + 191));
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, float))(*(_QWORD *)this + 1080LL))(
this,
a2 * *((float *)this + 192));
}
return _stack_chk_guard;
}