//
// CCPartAnimSprite::setFlipX from 0x10035e6a0 to 0x10035e6e4 (68 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::switchToMode @ 0x10033c0c0
//
// This function is hookable on this platform (idp: pc, 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:28:55 +0000
//
__int64 __fastcall CCPartAnimSprite::setFlipX(unsigned __int8 *a1, unsigned __int8 a2)
{
unsigned __int8 isFlipX; // al
__int64 result; // rax
isFlipX = cocos2d::CCSprite::isFlipX((__int64)a1);
if ( isFlipX != a2 )
(*(void (__fastcall **)(unsigned __int8 *, float))(*(_QWORD *)a1 + 128LL))(a1, (float)(isFlipX ^ 1u));
result = cocos2d::CCSprite::setFlipX(a1, a2);
a1[616] = 1;
return result;
}