//
// CCPartAnimSprite::setFlipX from 0x10007f39c to 0x10007f3f4 (88 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::switchToMode @ 0x1002fda18
//
// 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 __fastcall CCPartAnimSprite::setFlipX(CCPartAnimSprite *a1, bool a2)
{
int v2; // w20
int isFlipX; // w0
v2 = a2;
isFlipX = cocos2d::CCSprite::isFlipX(a1);
if ( isFlipX != v2 )
((void (__fastcall *)(CCPartAnimSprite *, float))a1->setScaleX)(a1, (float)(isFlipX ^ 1u));
cocos2d::CCSprite::setFlipX(a1, v2);
a1->m_hasChanged = 1;
}