//
// GameObject::setRScaleY from 0x140295730 to 0x14029576d (61 bytes)
//
// 9 xrefs:
// > ??> @ 0x140754b78
// > ??> @ 0x1407552f8
// > ??> @ 0x14075e6c0
// > ??> @ 0x14075edc8
// > ??> @ 0x1407d4cd8
// > ??> @ 0x14081f1d0
// > ??> @ 0x14081f900
// > ??> @ 0x1408216c0
// > ??> @ 0x1408293d8
//
// 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::setRScaleY(__int64 a1, float a2)
{
float v3; // xmm1_4
__int64 result; // rax
if ( *(_BYTE *)(a1 + 714) )
v3 = -1.0;
else
v3 = 1.0;
if ( (float)((float)(v3 * a2) * *(float *)(a1 + 1164)) != *(float *)(a1 + 68) )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 136LL))(a1);
return result;
}