//
// CCSpritePlus::setFlipY from 0x3e6706 to 0x3e676c (102 bytes)
//
// 0 xrefs:
//
// 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 11:47:05 +0000
//
unsigned int __fastcall CCSpritePlus::setFlipY(cocos2d::CCArray **this, bool a2)
{
unsigned int result; // r0
unsigned int i; // r5
cocos2d::CCSprite *v6; // r0
unsigned int j; // r5
cocos2d::CCSprite *v8; // r0
result = cocos2d::CCSprite::setFlipY((cocos2d::CCSprite *)this, a2);
if ( *((_BYTE *)this + 518) && *(this + 48) )
{
for ( i = 0; ; ++i )
{
result = cocos2d::CCArray::count(*(this + 48));
if ( i >= result )
break;
v6 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(*(this + 48), i);
cocos2d::CCSprite::setFlipY(v6, a2);
}
}
if ( *((_BYTE *)this + 516) )
{
for ( j = 0; ; ++j )
{
result = cocos2d::CCArray::count(*(this + 127));
if ( j >= result )
break;
v8 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(*(this + 127), j);
cocos2d::CCSprite::setFlipY(v8, a2);
}
}
return result;
}