//
// GameObject::setRScaleX from 0x76bf94 to 0x76bfdc (72 bytes)
//
// 11 xrefs:
// > EffectGameObject::setRScaleX @ 0x86fe78
// > ??> @ 0x105f88
// > ??> @ 0x1433840
// > ??> @ 0x1434630
// > ??> @ 0x1434e10
// > ??> @ 0x1435620
// > ??> @ 0x14471f0
// > ??> @ 0x14479d0
// > ??> @ 0x14481e0
// > ??> @ 0x1449a10
// > ??> @ 0x1459470
//
// This function is hookable on this platform (idp: arm, 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:53:11 +0000
//
__int64 __fastcall GameObject::setRScaleX(__int64 this, float a2)
{
float v2; // s1
if ( *(_BYTE *)(this + 709) )
v2 = -1.0;
else
v2 = 1.0;
if ( *(float *)(this + 64) != (float)((float)(v2 * a2) * *(float *)(this + 1152)) )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)this + 128LL))(this);
return this;
}