//
// cocos2d::CCSprite::setFlipY from 0x18008c580 to 0x18008c5ac (44 bytes)
//
// 10 xrefs:
// > cocos2d::CCFlipY::update @ 0x180030658
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x1800577a4
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800578b4
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800579c4
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x180057ad4
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180057ba4
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180057c74
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800ad086
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800ad259
// > ??> @ 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::setFlipY(cocos2d::CCSprite *this, bool a2)
{
cocos2d::CCSprite_vtbl *v2; // rax
_BOOL8 m_bRectRotated; // r8
if ( this->m_bFlipY != a2 )
{
v2 = this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
m_bRectRotated = this->m_bRectRotated;
this->m_bFlipY = a2;
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, _BOOL8, cocos2d::CCSize *))v2->setTextureRect)(
this,
&this->m_obRect,
m_bRectRotated,
&this->m_obContentSize);
}
}