//
// EffectGameObject::setRScaleX from 0x1406476c0 to 0x140647703 (67 bytes)
//
// 38 xrefs:
// > ??> @ 0x140820140
// > ??> @ 0x140820898
// > ??> @ 0x140820f50
// > ??> @ 0x140821d70
// > ??> @ 0x140822450
// > ??> @ 0x140822b08
// > ??> @ 0x140823418
// > ??> @ 0x140823b60
// > ??> @ 0x140824218
// > ??> @ 0x140824a10
// > ??> @ 0x1408250c8
// > ??> @ 0x140825780
// > ??> @ 0x140825ff0
// > ??> @ 0x1408267e8
// > ??> @ 0x140826f90
// > ??> @ 0x1408276c0
// > ??> @ 0x140827d78
// > ??> @ 0x1408284d0
// > ??> @ 0x140828d18
// > ??> @ 0x140829b50
// > ??> @ 0x14082a2d0
// > ??> @ 0x14082a988
// > ??> @ 0x14082b040
// > ??> @ 0x14082ba50
// > ??> @ 0x14082c180
// > ??> @ 0x14082c838
// > ??> @ 0x14082cef0
// > ??> @ 0x14082d5a8
// > ??> @ 0x14082dd78
// > ??> @ 0x14082e520
// > ??> @ 0x14082ebd8
// > ??> @ 0x14082f290
// > ??> @ 0x14082f948
// > ??> @ 0x140830000
// > ??> @ 0x1408306b8
// > ??> @ 0x140830d70
// > ??> @ 0x140831590
// > ??> @ 0x140831d10
//
// 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:35:37 +0000
//
__int64 __fastcall EffectGameObject::setRScaleX(__int64 a1, float a2)
{
float v3; // xmm1_4
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 1476) )
{
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;
}