//
// GameObject::setScale from 0x76cb94 to 0x76cc24 (144 bytes)
//
// 47 xrefs:
// > PlayerObject::setScale @ 0x74dcec
// > RingObject::setScale @ 0x86f5bc
// > ParticleGameObject::setScale @ 0x87208c
// > ??> @ 0xb0968
// > ??> @ 0x1434130
// > ??> @ 0x1434910
// > ??> @ 0x1435120
// > ??> @ 0x1443480
// > ??> @ 0x1443c90
// > ??> @ 0x14444a0
// > ??> @ 0x1444cb0
// > ??> @ 0x14454c0
// > ??> @ 0x1445cd0
// > ??> @ 0x14464e0
// > ??> @ 0x1446cf0
// > ??> @ 0x1447ce0
// > ??> @ 0x1449510
// > ??> @ 0x1449d60
// > ??> @ 0x144a570
// > ??> @ 0x144ad80
// > ??> @ 0x144b590
// > ??> @ 0x144c5c0
// > ??> @ 0x144cdd0
// > ??> @ 0x144d5e0
// > ??> @ 0x144ddf0
// > ??> @ 0x144e600
// > ??> @ 0x144ee10
// > ??> @ 0x144f620
// > ??> @ 0x144fe30
// > ??> @ 0x1450640
// > ??> @ 0x1450e50
// > ??> @ 0x1451660
// > ??> @ 0x1451e70
// > ??> @ 0x1452680
// > ??> @ 0x1452e90
// > ??> @ 0x14536a0
// > ??> @ 0x1453eb0
// > ??> @ 0x14546c0
// > ??> @ 0x1454ed0
// > ??> @ 0x14556e0
// > ??> @ 0x1455ef0
// > ??> @ 0x1456700
// > ??> @ 0x1456f10
// > ??> @ 0x1457720
// > ??> @ 0x1457f30
// > ??> @ 0x1458740
// > ??> @ 0x1458f70
//
// 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::setScale(GameObject *this, float a2)
{
__int64 v4; // x0
__int64 v5; // x0
__int64 result; // x0
*((_BYTE *)this + 865) = 1;
CCSpritePlus::setScale((cocos2d::CCArray **)this, a2);
v4 = *((_QWORD *)this + 94);
if ( v4 )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, a2);
v5 = *((_QWORD *)this + 111);
if ( v5 && !*((_BYTE *)this + 866) )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, a2);
result = *((_QWORD *)this + 97);
if ( result )
{
if ( !*((_BYTE *)this + 820) )
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)result + 160LL))(result, a2);
}
return result;
}