//
// GameObject::setScaleX from 0x76ca74 to 0x76cb04 (144 bytes)
//
// 49 xrefs:
// > PlayerObject::setScaleX @ 0x74dce4
// > ParticleGameObject::setScaleX @ 0x871ff4
// > ??> @ 0xd8970
// > ??> @ 0x1434110
// > ??> @ 0x14348f0
// > ??> @ 0x1435100
// > ??> @ 0x1443460
// > ??> @ 0x1443c70
// > ??> @ 0x1444480
// > ??> @ 0x1444c90
// > ??> @ 0x14454a0
// > ??> @ 0x1445cb0
// > ??> @ 0x14464c0
// > ??> @ 0x1446cd0
// > ??> @ 0x1447cc0
// > ??> @ 0x14484d0
// > ??> @ 0x1448ce0
// > ??> @ 0x14494f0
// > ??> @ 0x1449d40
// > ??> @ 0x144a550
// > ??> @ 0x144ad60
// > ??> @ 0x144b570
// > ??> @ 0x144bd80
// > ??> @ 0x144c5a0
// > ??> @ 0x144cdb0
// > ??> @ 0x144d5c0
// > ??> @ 0x144ddd0
// > ??> @ 0x144e5e0
// > ??> @ 0x144edf0
// > ??> @ 0x144f600
// > ??> @ 0x144fe10
// > ??> @ 0x1450620
// > ??> @ 0x1450e30
// > ??> @ 0x1451640
// > ??> @ 0x1451e50
// > ??> @ 0x1452660
// > ??> @ 0x1452e70
// > ??> @ 0x1453680
// > ??> @ 0x1453e90
// > ??> @ 0x14546a0
// > ??> @ 0x1454eb0
// > ??> @ 0x14556c0
// > ??> @ 0x1455ed0
// > ??> @ 0x14566e0
// > ??> @ 0x1456ef0
// > ??> @ 0x1457700
// > ??> @ 0x1457f10
// > ??> @ 0x1458720
// > ??> @ 0x1458f50
//
// 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 12:53:11 +0000
//
__int64 __fastcall GameObject::setScaleX(GameObject *this, float a2)
{
__int64 v4; // x0
__int64 v5; // x0
__int64 result; // x0
*((_BYTE *)this + 865) = 1;
CCSpritePlus::setScaleX((cocos2d::CCArray **)this, a2);
v4 = *((_QWORD *)this + 94);
if ( v4 )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 128LL))(v4, a2);
v5 = *((_QWORD *)this + 111);
if ( v5 && !*((_BYTE *)this + 866) )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 128LL))(v5, a2);
result = *((_QWORD *)this + 97);
if ( result )
{
if ( !*((_BYTE *)this + 820) )
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)result + 128LL))(result, a2);
}
return result;
}