//
// cocos2d::CCParticleSystem::loadScaledDefaults from 0x18006af50 to 0x18006b001 (177 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bdf48
//
// 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::loadScaledDefaults(cocos2d::CCParticleSystem *this, float a2)
{
float v3; // xmm2_4
float v4; // xmm0_4
int v5; // [rsp+40h] [rbp+8h] BYREF
v3 = a2 * *((float *)this + 189);
*((float *)this + 142) = a2 * *((float *)this + 188);
v4 = a2 * *((float *)this + 191);
*((float *)this + 143) = v3;
*((float *)this + 144) = v4;
cocos2d::CCSize::operator*((float *)this + 195, (float *)&v5, a2);
cocos2d::CCSize::operator=((_DWORD *)this + 120, &v5);
if ( !*((_DWORD *)this + 175) )
{
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)this + 1056LL))(this);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)this + 1072LL))(this);
}
}