//
// cocos2d::CCSprite::setScaleY from 0x1002d5888 to 0x1002d5908 (128 bytes)
//
// 27 xrefs:
// > CCPartAnimSprite::setScaleY @ 0x100087c00
// > CCSpritePlus::setScaleY @ 0x10024dd04
// > ??> @ 0x1008ae900
// > ??> @ 0x1008bfe00
// > ??> @ 0x1008c0758
// > ??> @ 0x1008c1968
// > ??> @ 0x1008c3f30
// > ??> @ 0x1008d41f0
// > ??> @ 0x1008dfcf8
// > ??> @ 0x1008eea68
// > ??> @ 0x100903de0
// > ??> @ 0x1009043a8
// > ??> @ 0x1009105d0
// > ??> @ 0x1009117e0
// > ??> @ 0x10091c9a0
// > ??> @ 0x10091f9a8
// > ??> @ 0x1009204a8
// > ??> @ 0x100921d28
// > ??> @ 0x1009222f0
// > ??> @ 0x10093c9d0
// > ??> @ 0x100942218
// > ??> @ 0x1009427e0
// > ??> @ 0x100944510
// > ??> @ 0x100944aa8
// > ??> @ 0x100963930
// > ??> @ 0x100969d48
// > ??> @ 0x10098c730
//
// 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:02:40 +0000
//
__int64 __fastcall cocos2d::CCSprite::setScaleY(__int64 result, float a2)
{
__int64 v2; // x19
if ( *(float *)(result + 68) != a2 )
{
v2 = result;
result = cocos2d::CCNode::setScaleY();
if ( *(_QWORD *)(v2 + 368) )
{
if ( (*(_BYTE *)(v2 + 377) & 1) == 0 )
{
*(_BYTE *)(v2 + 377) = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1200LL))(v2, 1);
if ( *(_BYTE *)(v2 + 378) == 1 )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1232LL))(v2, 1);
}
}
}
return result;
}