//
// ParticleGameObject::setScaleX from 0x100192d90 to 0x100192df7 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x100acb798
//
// 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 12:25:54 +0000
//
__int64 __fastcall ParticleGameObject::setScaleX(__int64 a1, double a2)
{
__int64 result; // rax
double v3; // xmm0_8
result = GameObject::setScaleX();
if ( *(_BYTE *)(a1 + 820) == 1 )
{
if ( *(_QWORD *)(a1 + 776) )
{
v3 = (*(double (__fastcall **)(__int64))(*(_QWORD *)a1 + 368LL))(a1);
ParticleGameObject::updateParticleAngle((_BYTE *)a1, *(unsigned int **)(a1 + 776), v3);
return cocos2d::CCParticleSystem::loadScaledDefaults(
*(_QWORD *)(a1 + 776),
COERCE_DOUBLE(*(_QWORD *)&a2 & 0x7FFFFFFF7FFFFFFFLL));
}
}
return result;
}