//
// cocos2d::CCSprite::setScaleY from 0x7f1fe2 to 0x7f2032 (80 bytes)
//
// 2 xrefs:
// > CCPartAnimSprite::setScaleY @ 0x3c7e18
// > CCSpritePlus::setScaleY @ 0x3e67b0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:05 +0000
//
int __fastcall cocos2d::CCSprite::setScaleY(int this, float a2)
{
int v2; // r4
int v3; // r3
v2 = this;
if ( *(float *)(this + 64) != a2 )
{
this = cocos2d::CCNode::setScaleY(this, a2);
if ( *(_DWORD *)(v2 + 292) )
{
if ( !*(_BYTE *)(v2 + 297) )
{
v3 = *(_DWORD *)v2;
*(_BYTE *)(v2 + 297) = 1;
this = (*(int (__fastcall **)(int, int))(v3 + 600))(v2, 1);
if ( *(_BYTE *)(v2 + 298) )
return (*(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 616))(v2, 1);
}
}
}
return this;
}