//
// cocos2d::CCParticleSystem::loadScaledDefaults from 0x7e45cc to 0x7e4668 (156 bytes)
//
// 14 xrefs:
// > PlayerObject::togglePlayerScale @ 0x43f500
// > PlayerObject::togglePlayerScale @ 0x43f50a
// > PlayerObject::togglePlayerScale @ 0x43f514
// > PlayerObject::togglePlayerScale @ 0x43f51e
// > PlayerObject::togglePlayerScale @ 0x43f528
// > PlayerObject::togglePlayerScale @ 0x43f532
// > PlayerObject::togglePlayerScale @ 0x43f53c
// > PlayerObject::togglePlayerScale @ 0x43f546
// > PlayerObject::togglePlayerScale @ 0x43f550
// > PlayerObject::togglePlayerScale @ 0x43f55a
// > PlayerObject::togglePlayerScale @ 0x43f564
// > GameObject::claimParticle @ 0x452f18
// > ParticleGameObject::updateParticleScale @ 0x4e7bdc
// > GameObject::spawnDefaultPickupParticle @ 0x65e724
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:52 +0000
//
float *__fastcall cocos2d::CCParticleSystem::loadScaledDefaults(cocos2d::CCParticleSystem *this, float a2)
{
float *result; // r0
float v5[2]; // [sp+4h] [bp-Ch] BYREF
*((float *)this + 120) = *((float *)this + 165) * a2;
*((float *)this + 121) = *((float *)this + 166) * a2;
*((float *)this + 122) = *((float *)this + 168) * a2;
cocos2d::CCPoint::operator*(v5, (float *)this + 172, a2);
result = cocos2d::CCPoint::operator=((float *)this + 98, v5);
if ( !*((_DWORD *)this + 152) )
{
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _DWORD))(*(_DWORD *)this + 532))(
this,
a2 * *((float *)this + 170));
return (float *)(*(int (__fastcall **)(cocos2d::CCParticleSystem *, _DWORD))(*(_DWORD *)this + 540))(
this,
a2 * *((float *)this + 171));
}
return result;
}