//
// GameObject::setRScaleX from 0x140198510 to 0x14019854a (58 bytes)
//
// 9 xrefs:
// > ??> @ 0x1405568a8
// > ??> @ 0x140557018
// > ??> @ 0x14055e050
// > ??> @ 0x14055e6d0
// > ??> @ 0x1405c8768
// > ??> @ 0x14060d8f8
// > ??> @ 0x14060e248
// > ??> @ 0x1406105d0
// > ??> @ 0x1406173c0
//
// 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 v3; // xmm1_4
if ( a1->m_isFlipX )
v3 = -1.0;
else
v3 = 1.0;
if ( (float)((float)(v3 * a2) * a1->m_scaleX) != a1->m_fScaleX )
((void (__fastcall *)(GameObject *))a1->setScaleX)(a1);
}