//
// cocos2d::CCSprite::setFlipY from 0x5e6dbc to 0x5e6de6 (42 bytes)
//
// 53 xrefs:
// > CCPartAnimSprite::setFlipY @ 0x2e702c
// > GhostTrailEffect::trailSnapshot @ 0x2fb844
// > CCSpritePlus::setFlipY @ 0x2fd0e0
// > CCSpritePlus::setFlipY @ 0x2fd114
// > CCSpritePlus::setFlipY @ 0x2fd136
// > PlayLayer::playGravityEffect @ 0x314c4e
// > CreatorLayer::init @ 0x3ab88e
// > CreatorLayer::init @ 0x3ab900
// > LevelInfoLayer::init @ 0x3b494e
// > GJGarageLayer::init @ 0x406ff0
// > GJListLayer::init @ 0x40be74
// > GJCommentListLayer::init @ 0x4ab950
// > ChallengesPage::init @ 0x4cc988
// > ChallengesPage::init @ 0x4cc99e
// > GauntletSelectLayer::init @ 0x4d96e8
// > GauntletSelectLayer::init @ 0x4d976e
// > RewardsPage::init @ 0x4e70e4
// > RewardsPage::init @ 0x4e70fa
// > ShardsPage::init @ 0x4fb490
// > ShardsPage::init @ 0x4fb4a6
// > WorldLevelPage::init @ 0x4feae2
// > WorldLevelPage::init @ 0x4feaf8
// > FollowRewardPage::init @ 0x4ffd90
// > FollowRewardPage::init @ 0x4ffda6
// > CommunityCreditsPage::init @ 0x506e78
// > CommunityCreditsPage::init @ 0x506e8e
// > GameObject::setupCustomSprites @ 0x513ea8
// > GameObject::setupCustomSprites @ 0x518e22
// > GameObject::setupCustomSprites @ 0x518e6a
// > GameObject::setupCustomSprites @ 0x521096
// > GameObject::setupCustomSprites @ 0x521140
// > GameObject::setupCustomSprites @ 0x5211e2
// > GameObject::setupCustomSprites @ 0x52125c
// > GameObject::setupCustomSprites @ 0x5213b8
// > GameObject::setupCustomSprites @ 0x521418
// > GameObject::setupCustomSprites @ 0x52158e
// > GameObject::setupCustomSprites @ 0x521610
// > GameObject::setupCustomSprites @ 0x52168c
// > GameObject::setupCustomSprites @ 0x521784
// > GJSmartTemplate::applyTransformationsForType @ 0x539e3c
// > GJSmartTemplate::applyTransformationsForType @ 0x539e66
// > ShaderLayer::setupShader @ 0x54eda0
// > ExplodeItemNode::createSprites @ 0x566a3e
// > cocos2d::extension::CCControlSwitchSprite::needsLayout @ 0x5a45ae
// > cocos2d::CCFlipY::update @ 0x5b5116
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x5d31a0
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x5d3254
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x5d3308
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x5d33e4
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x5d34bc
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x5d3594
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x5f7808
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x5f78f4
//
// 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 cocos2d::CCSprite::setFlipY(cocos2d::CCSprite *a1, bool a2)
{
cocos2d::CCSprite_vtbl *v2; // r2
if ( a1->m_bFlipY != a2 )
{
v2 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_bFlipY = a2;
v2->setTextureRect_0(a1, &a1->m_obRect, a1->m_bRectRotated, &a1->m_obContentSize);
}
}