//
// cocos2d::CCSprite::setFlipX from 0x18008c550 to 0x18008c57c (44 bytes)
//
// 6 xrefs:
// > cocos2d::CCFlipX::update @ 0x180030648
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800ad07c
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800ad21c
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800ad23b
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800ad249
// > ??> @ 0x1801438a8
//
// 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 cocos2d::CCSprite::setFlipX(cocos2d::CCSprite *this, bool a2)
{
cocos2d::CCSprite_vtbl *v2; // rax
_BOOL8 m_bRectRotated; // r8
if ( this->m_bFlipX != a2 )
{
v2 = this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
m_bRectRotated = this->m_bRectRotated;
this->m_bFlipX = a2;
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, _BOOL8, cocos2d::CCSize *))v2->setTextureRect)(
this,
&this->m_obRect,
m_bRectRotated,
&this->m_obContentSize);
}
}