//
// CCPartAnimSprite::setFlipX from 0x3c7124 to 0x3c715c (56 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::switchToMode @ 0x3c35ca
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:35 +0000
//
int __fastcall CCPartAnimSprite::setFlipX(CCPartAnimSprite *this, int a2)
{
int isFlipX; // r0
int result; // r0
isFlipX = cocos2d::CCSprite::isFlipX(this);
if ( a2 != isFlipX )
(*(void (__fastcall **)(CCPartAnimSprite *, float))(*(_DWORD *)this + 64))(
this,
(float)((unsigned __int8)isFlipX ^ 1u));
result = cocos2d::CCSprite::setFlipX(this, a2);
*((_BYTE *)this + 516) = 1;
return result;
}