//
// GameObject::setScaleY from 0x140295510 to 0x1402955fe (238 bytes)
//
// 50 xrefs:
// > PlayerObject::setScaleY @ 0x140501f50
// > ParticleGameObject::setScaleY @ 0x140642db1
// > ??> @ 0x1407546f0
// > ??> @ 0x140754e70
// > ??> @ 0x14075e238
// > ??> @ 0x14075e940
// > ??> @ 0x14081f478
// > ??> @ 0x14081fcc0
// > ??> @ 0x140820418
// > ??> @ 0x140820ad0
// > ??> @ 0x140821238
// > ??> @ 0x1408218f0
// > ??> @ 0x140821fd0
// > ??> @ 0x140822688
// > ??> @ 0x140822f98
// > ??> @ 0x1408236e0
// > ??> @ 0x140823d98
// > ??> @ 0x140824590
// > ??> @ 0x140824c48
// > ??> @ 0x140825300
// > ??> @ 0x140825b70
// > ??> @ 0x140826368
// > ??> @ 0x140826b10
// > ??> @ 0x140827240
// > ??> @ 0x1408278f8
// > ??> @ 0x140828050
// > ??> @ 0x140828898
// > ??> @ 0x140828f50
// > ??> @ 0x1408296d0
// > ??> @ 0x140829e50
// > ??> @ 0x14082a508
// > ??> @ 0x14082abc0
// > ??> @ 0x14082b5d0
// > ??> @ 0x14082bd00
// > ??> @ 0x14082c3b8
// > ??> @ 0x14082ca70
// > ??> @ 0x14082d128
// > ??> @ 0x14082d8f8
// > ??> @ 0x14082e0a0
// > ??> @ 0x14082e758
// > ??> @ 0x14082ee10
// > ??> @ 0x14082f4c8
// > ??> @ 0x14082fb80
// > ??> @ 0x140830238
// > ??> @ 0x1408308f0
// > ??> @ 0x140831110
// > ??> @ 0x140831890
// > ??> @ 0x1408af21c
// > ??> @ 0x1408af22c
// > ??> @ 0x14091d540
//
// 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::setScaleY(__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::setScaleY((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 + 136LL))(v4);
}
}
}
v5 = *(_QWORD *)(a1 + 752);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 136LL))(v5);
v6 = *(_QWORD *)(a1 + 896);
if ( v6 && !*(_BYTE *)(a1 + 874) )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 136LL))(v6);
v7 = *(_QWORD *)(a1 + 776);
if ( v7 )
{
if ( !*(_BYTE *)(a1 + 828) )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 136LL))(v7);
}
}