//
// CCSpritePlus::setFlipY from 0x2fd0da to 0x2fd140 (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void CCSpritePlus::setFlipY(CCSpritePlus *a1, bool a2)
{
unsigned int i; // r5
cocos2d::CCSprite *v5; // r0
unsigned int j; // r5
cocos2d::CCSprite *v7; // r0
cocos2d::CCSprite::setFlipY(a1, a2);
if ( a1->m_propagateFlipChanges && a1->m_pChildren )
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_pChildren); ++i )
{
v5 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(a1->m_pChildren, i);
cocos2d::CCSprite::setFlipY(v5, a2);
}
}
if ( a1->m_hasFollower )
{
for ( j = 0; j < cocos2d::CCArray::count(a1->m_followers); ++j )
{
v7 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(a1->m_followers, j);
cocos2d::CCSprite::setFlipY(v7, a2);
}
}
}