//
// cocos2d::CCSprite::setScaleY from 0xd880a4 to 0xd8811c (120 bytes)
//
// 32 xrefs:
// > CCPartAnimSprite::setScaleY @ 0x694074
// > CCSpritePlus::setScaleY @ 0x6c87c0
// > ??> @ 0x75388
// > ??> @ 0x1413670
// > ??> @ 0x1413c30
// > ??> @ 0x14149e0
// > ??> @ 0x141b110
// > ??> @ 0x141b740
// > ??> @ 0x141cbc0
// > ??> @ 0x1421da0
// > ??> @ 0x1423760
// > ??> @ 0x1423d10
// > ??> @ 0x14242e0
// > ??> @ 0x1428cc0
// > ??> @ 0x1433b30
// > ??> @ 0x143a0a0
// > ??> @ 0x145ae50
// > ??> @ 0x145b3f0
// > ??> @ 0x14774e0
// > ??> @ 0x1479590
// > ??> @ 0x14869f0
// > ??> @ 0x1486fa0
// > ??> @ 0x1496d10
// > ??> @ 0x1499260
// > ??> @ 0x14c1b90
// > ??> @ 0x14d9590
// > ??> @ 0x150c9b0
// > ??> @ 0x1517870
// > ??> @ 0x1517e10
// > ??> @ 0x1518990
// > ??> @ 0x152e3f0
// > ??> @ 0x152fbf0
//
// 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 13:08:14 +0000
//
__int64 __fastcall cocos2d::CCSprite::setScaleY(__int64 this, float a2)
{
__int64 v2; // x19
__int64 v3; // x2
if ( *(float *)(this + 68) != a2 )
{
v2 = this;
cocos2d::CCNode::setScaleY(this, a2);
this = *(_QWORD *)(v2 + 368);
if ( this )
{
this = *(unsigned __int8 *)(v2 + 377);
if ( !*(_BYTE *)(v2 + 377) )
{
v3 = *(_QWORD *)v2;
*(_BYTE *)(v2 + 377) = 1;
(*(void (__fastcall **)(__int64, __int64))(v3 + 1200))(v2, 1);
this = *(unsigned __int8 *)(v2 + 378);
if ( *(_BYTE *)(v2 + 378) )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1232LL))(v2, 1);
}
}
}
return this;
}