//
// GameObject::setRScaleX from 0x44b408 to 0x44b446 (62 bytes)
//
// 1 xrefs:
// > EffectGameObject::setRScaleX @ 0x4e639e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:34 +0000
//
int __fastcall GameObject::setRScaleX(int this, float a2)
{
float v2; // s15
float v3; // s15
v2 = -1.0;
if ( !*(_BYTE *)(this + 609) )
v2 = 1.0;
v3 = (float)(v2 * a2) * *(float *)(this + 1008);
if ( v3 != *(float *)(this + 60) )
return (*(int (__fastcall **)(int, float))(*(_DWORD *)this + 64))(this, COERCE_FLOAT(LODWORD(v3)));
return this;
}