//
// CCPartAnimSprite::setFlipX from 0x2e6fbc to 0x2e6ff4 (56 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::switchToMode @ 0x2e4296
//
// 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)
{
int v2; // r5
int isFlipX; // r0
v2 = a2;
isFlipX = cocos2d::CCSprite::isFlipX(a1);
if ( v2 != isFlipX )
((void (__fastcall *)(_DWORD, _DWORD))a1->setScaleX)(a1, (float)((unsigned __int8)isFlipX ^ 1u));
cocos2d::CCSprite::setFlipX(a1, v2);
a1->m_hasChanged = 1;
}