//
// CCPartAnimSprite::setFlipX from 0x692948 to 0x6929a4 (92 bytes)
//
// 2 xrefs:
// > CCAnimatedSprite::switchToMode @ 0x68c834
// > ??> @ 0xa3d38
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:50:36 +0000
//
__int64 __fastcall CCPartAnimSprite::setFlipX(CCPartAnimSprite *this, unsigned __int8 a2)
{
int v2; // w20
unsigned __int8 isFlipX; // w0
v2 = a2;
isFlipX = cocos2d::CCSprite::isFlipX(this);
if ( isFlipX != v2 )
(*(void (__fastcall **)(CCPartAnimSprite *, float))(*(_QWORD *)this + 128LL))(this, (float)(isFlipX ^ 1u));
cocos2d::CCSprite::setFlipX(this, v2);
*((_BYTE *)this + 616) = 1;
return 1;
}