//
// CCPartAnimSprite::setFlipX from 0x5770ac to 0x577108 (92 bytes)
//
// 2 xrefs:
// > CCAnimatedSprite::switchToMode @ 0x571248
// > ??> @ 0x7aa60
//
// 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 CCPartAnimSprite::setFlipX(CCPartAnimSprite *a1, bool a2)
{
_BOOL4 v2; // w20
bool isFlipX; // w0
v2 = a2;
isFlipX = cocos2d::CCSprite::isFlipX(a1);
if ( isFlipX != v2 )
a1->setScaleX(a1, (float)!isFlipX);
cocos2d::CCSprite::setFlipX(a1, v2);
a1->m_hasChanged = 1;
}