//
// CCSpritePlus::setScaleY from 0x6c87a8 to 0x6c8828 (128 bytes)
//
// 5 xrefs:
// > GameObject::setScaleY @ 0x76cb24
// > ??> @ 0x6bd40
// > ??> @ 0x14177f0
// > ??> @ 0x14217f0
// > ??> @ 0x14918d0
//
// 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 12:51:22 +0000
//
__int64 __fastcall CCSpritePlus::setScaleY(cocos2d::CCArray **this, float a2)
{
__int64 result; // x0
unsigned int v5; // w19
__int64 v6; // x0
bool v7; // cf
unsigned int v8; // w1
cocos2d::CCSprite::setScaleY((cocos2d::CCSprite *)this, a2);
result = *((unsigned __int8 *)this + 616);
if ( *((_BYTE *)this + 616) )
{
result = *((unsigned __int8 *)this + 617);
v5 = 0;
if ( *((_BYTE *)this + 617) )
{
while ( 1 )
{
result = cocos2d::CCArray::count(*(this + 75));
v7 = v5 >= (unsigned int)result;
v8 = v5++;
if ( v7 )
break;
v6 = cocos2d::CCArray::objectAtIndex(*(this + 75), v8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 144LL))(v6, a2);
}
}
}
return result;
}