//
// GameObject::setScale from 0x1002f892c to 0x1002f89c4 (152 bytes)
//
// 46 xrefs:
// > PlayerObject::setScale @ 0x1002cb50c
// > ParticleGameObject::setScale @ 0x100427d4c
// > RingObject::setScale @ 0x1004289f4
// > ??> @ 0x1009283e8
// > ??> @ 0x100928be0
// > ??> @ 0x100929400
// > ??> @ 0x10094d3c0
// > ??> @ 0x10094dc08
// > ??> @ 0x10094e410
// > ??> @ 0x10094ec18
// > ??> @ 0x10094f420
// > ??> @ 0x10094fc28
// > ??> @ 0x100950430
// > ??> @ 0x100950c38
// > ??> @ 0x100951c50
// > ??> @ 0x1009524c8
// > ??> @ 0x100952ce8
// > ??> @ 0x100953508
// > ??> @ 0x100953d28
// > ??> @ 0x100954548
// > ??> @ 0x100954d68
// > ??> @ 0x100955588
// > ??> @ 0x100955da8
// > ??> @ 0x100957e88
// > ??> @ 0x1009586c0
// > ??> @ 0x100958ef8
// > ??> @ 0x100959730
// > ??> @ 0x100959f68
// > ??> @ 0x10095a788
// > ??> @ 0x10095afa8
// > ??> @ 0x10095b7c8
// > ??> @ 0x10095bfe8
// > ??> @ 0x10095c808
// > ??> @ 0x10095d028
// > ??> @ 0x10095d848
// > ??> @ 0x10095e068
// > ??> @ 0x10095e888
// > ??> @ 0x10095f0a8
// > ??> @ 0x10095f8c8
// > ??> @ 0x1009600e8
// > ??> @ 0x100960908
// > ??> @ 0x100961128
// > ??> @ 0x100961948
// > ??> @ 0x100962168
// > ??> @ 0x100962988
// > ??> @ 0x10096dd88
//
// 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 11:03:00 +0000
//
__int64 __fastcall GameObject::setScale(__int64 a1, float a2)
{
__int64 v4; // x0
__int64 v5; // x0
__int64 result; // x0
*(_BYTE *)(a1 + 865) = 1;
CCSpritePlus::setScale(a1, a2);
v4 = *(_QWORD *)(a1 + 752);
if ( v4 )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, a2);
v5 = *(_QWORD *)(a1 + 888);
if ( v5 && (*(_BYTE *)(a1 + 866) & 1) == 0 )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, a2);
result = *(_QWORD *)(a1 + 776);
if ( result )
{
if ( (*(_BYTE *)(a1 + 820) & 1) == 0 )
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)result + 160LL))(result, a2);
}
return result;
}