//
// GameObject::setRScaleX from 0x10068db10 to 0x10068db43 (51 bytes)
//
// 10 xrefs:
// > EffectGameObject::setRScaleX @ 0x100199730
// > ??> @ 0x100ac7c48
// > ??> @ 0x100acb4c0
// > ??> @ 0x100acbcb8
// > ??> @ 0x100acc4d8
// > ??> @ 0x100b2bde8
// > ??> @ 0x100b3d880
// > ??> @ 0x100b84410
// > ??> @ 0x100b84c08
// > ??> @ 0x100b85428
//
// 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:35:06 +0000
//
__int64 __fastcall GameObject::setRScaleX(__int64 a1, float a2)
{
__int64 result; // rax
if ( *(_BYTE *)(a1 + 709) )
a2 = -a2;
if ( (float)(a2 * *(float *)(a1 + 1152)) != *(float *)(a1 + 64) )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 128LL))(a1);
return result;
}