//
// GameObject::setRScaleX from 0x1002f89c4 to 0x1002f89f8 (52 bytes)
//
// 10 xrefs:
// > EffectGameObject::setRScaleX @ 0x10042b3a4
// > ??> @ 0x10091c668
// > ??> @ 0x1009288e8
// > ??> @ 0x1009290e0
// > ??> @ 0x100929900
// > ??> @ 0x10094d8c0
// > ??> @ 0x100951138
// > ??> @ 0x100951930
// > ??> @ 0x100952150
// > ??> @ 0x10096e288
//
// 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 11:03:00 +0000
//
__int64 __fastcall GameObject::setRScaleX(__int64 result, float a2)
{
if ( *(_BYTE *)(result + 709) )
a2 = -a2;
if ( (float)(*(float *)(result + 1152) * a2) != *(float *)(result + 64) )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 128LL))(result);
return result;
}