//
// GameObject::setRScaleX from 0x1402956f0 to 0x14029572a (58 bytes)
//
// 9 xrefs:
// > ??> @ 0x140754b70
// > ??> @ 0x1407552f0
// > ??> @ 0x14075e6b8
// > ??> @ 0x14075edc0
// > ??> @ 0x1407d4cd0
// > ??> @ 0x14081f1c8
// > ??> @ 0x14081f8f8
// > ??> @ 0x1408216b8
// > ??> @ 0x1408293d0
//
// 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:29:10 +0000
//
__int64 __fastcall GameObject::setRScaleX(__int64 a1, float a2)
{
float v3; // xmm1_4
__int64 result; // rax
if ( *(_BYTE *)(a1 + 713) )
v3 = -1.0;
else
v3 = 1.0;
if ( (float)((float)(v3 * a2) * *(float *)(a1 + 1160)) != *(float *)(a1 + 64) )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 120LL))(a1);
return result;
}