//
// GameObject::setRScaleX from 0x3525f2 to 0x352630 (62 bytes)
//
// 1 xrefs:
// > EffectGameObject::setRScaleX @ 0x3e0ff6
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GameObject::setRScaleX(GameObject *a1, float a2)
{
float v2; // s15
float v3; // s15
v2 = -1.0;
if ( !a1->m_isFlipX )
v2 = 1.0;
v3 = (float)(v2 * a2) * a1->m_scaleX;
if ( v3 != a1->m_fScaleX )
((void (__fastcall *)(GameObject *, _DWORD))a1->setScaleX)(a1, LODWORD(v3));
}