//
// GameObject::setScale from 0x140295600 to 0x1402956ee (238 bytes)
//
// 48 xrefs:
// > PlayerObject::setScale @ 0x140501f60
// > ParticleGameObject::setScale @ 0x140642e31
// > RingObject::setScale @ 0x140643cd0
// > ??> @ 0x140754708
// > ??> @ 0x140754e88
// > ??> @ 0x14075e250
// > ??> @ 0x14075e958
// > ??> @ 0x14081f490
// > ??> @ 0x14081fcd8
// > ??> @ 0x140820430
// > ??> @ 0x140820ae8
// > ??> @ 0x140821250
// > ??> @ 0x140821908
// > ??> @ 0x140821fe8
// > ??> @ 0x1408226a0
// > ??> @ 0x1408236f8
// > ??> @ 0x140823db0
// > ??> @ 0x1408245a8
// > ??> @ 0x140824c60
// > ??> @ 0x140825318
// > ??> @ 0x140826380
// > ??> @ 0x140826b28
// > ??> @ 0x140827258
// > ??> @ 0x140827910
// > ??> @ 0x140828068
// > ??> @ 0x1408288b0
// > ??> @ 0x140828f68
// > ??> @ 0x1408296e8
// > ??> @ 0x140829e68
// > ??> @ 0x14082a520
// > ??> @ 0x14082abd8
// > ??> @ 0x14082b5e8
// > ??> @ 0x14082bd18
// > ??> @ 0x14082c3d0
// > ??> @ 0x14082ca88
// > ??> @ 0x14082d140
// > ??> @ 0x14082d910
// > ??> @ 0x14082e0b8
// > ??> @ 0x14082ee28
// > ??> @ 0x14082f4e0
// > ??> @ 0x14082fb98
// > ??> @ 0x140830250
// > ??> @ 0x140830908
// > ??> @ 0x140831128
// > ??> @ 0x1408318a8
// > ??> @ 0x1408af240
// > ??> @ 0x1408af250
// > ??> @ 0x14091d564
//
// 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:29:10 +0000
//
void __fastcall GameObject::setScale(__int64 a1, float a2)
{
unsigned int i; // edi
struct cocos2d::CCObject *v4; // rax
__int64 v5; // rcx
__int64 v6; // rcx
__int64 v7; // rcx
*(_BYTE *)(a1 + 873) = 1;
cocos2d::CCSprite::setScale((cocos2d::CCSprite *)a1, a2);
if ( *(_BYTE *)(a1 + 616) )
{
if ( *(_BYTE *)(a1 + 617) )
{
for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)); ++i )
{
v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), i);
(*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v4 + 160LL))(v4);
}
}
}
v5 = *(_QWORD *)(a1 + 752);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5);
v6 = *(_QWORD *)(a1 + 896);
if ( v6 && !*(_BYTE *)(a1 + 874) )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 160LL))(v6);
v7 = *(_QWORD *)(a1 + 776);
if ( v7 )
{
if ( !*(_BYTE *)(a1 + 828) )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 160LL))(v7);
}
}