//
// cocos2d::CCSprite::setFlipY from 0xb15ebc to 0xb15ef8 (60 bytes)
//
// 55 xrefs:
// > CCPartAnimSprite::setFlipY @ 0x57714c
// > GhostTrailEffect::trailSnapshot @ 0x5a5a64
// > CCSpritePlus::setFlipY @ 0x5a835c
// > CCSpritePlus::setFlipY @ 0x5a8384
// > CCSpritePlus::setFlipY @ 0x5a83bc
// > PlayLayer::playGravityEffect @ 0x5d31b8
// > CreatorLayer::init @ 0x6cc7d0
// > CreatorLayer::init @ 0x6cc85c
// > LevelInfoLayer::init @ 0x6dc3a0
// > GJGarageLayer::init @ 0x7990a8
// > GJListLayer::init @ 0x7a0cfc
// > GJListLayer::init @ 0x7a0d44
// > GJCommentListLayer::init @ 0x8c9aac
// > ChallengesPage::init @ 0x908598
// > ChallengesPage::init @ 0x9085e8
// > GauntletSelectLayer::init @ 0x91c88c
// > GauntletSelectLayer::init @ 0x91c938
// > RewardsPage::init @ 0x935bb8
// > RewardsPage::init @ 0x935c08
// > ShardsPage::init @ 0x95dcc8
// > ShardsPage::init @ 0x95dd18
// > WorldLevelPage::init @ 0x96275c
// > WorldLevelPage::init @ 0x9627ac
// > FollowRewardPage::init @ 0x96481c
// > FollowRewardPage::init @ 0x96486c
// > CommunityCreditsPage::init @ 0x97217c
// > CommunityCreditsPage::init @ 0x9721cc
// > GameObject::setupCustomSprites @ 0x986a9c
// > GameObject::setupCustomSprites @ 0x986b10
// > GameObject::setupCustomSprites @ 0x987f70
// > GameObject::setupCustomSprites @ 0x98a8f4
// > GameObject::setupCustomSprites @ 0x98a9a0
// > GameObject::setupCustomSprites @ 0x98aa68
// > GameObject::setupCustomSprites @ 0x995534
// > GameObject::setupCustomSprites @ 0x996a08
// > GameObject::setupCustomSprites @ 0x996ab0
// > GameObject::setupCustomSprites @ 0x997bec
// > GameObject::setupCustomSprites @ 0x997ca0
// > GameObject::setupCustomSprites @ 0x997d4c
// > GameObject::setupCustomSprites @ 0x99b760
// > GJSmartTemplate::applyTransformationsForType @ 0x9d15dc
// > GJSmartTemplate::applyTransformationsForType @ 0x9d15e8
// > ShaderLayer::setupShader @ 0x9f7488
// > ExplodeItemNode::createSprites @ 0xa273e8
// > cocos2d::extension::CCControlSwitchSprite::needsLayout @ 0xa9f624
// > cocos2d::CCFlipY::update @ 0xabd078
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0xaf0928
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0xaf0a20
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0xaf0b1c
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0xaf0c50
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0xaf0d84
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0xaf0eb4
// > cocos2d::CCTMXLayer::setupTileSprite @ 0xb39288
// > cocos2d::CCTMXLayer::setupTileSprite @ 0xb39308
// > ??> @ 0x55ec0
//
// 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; // x6
_BOOL8 m_bRectRotated; // x2
if ( a1->m_bFlipY != a2 )
{
v2 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
m_bRectRotated = a1->m_bRectRotated;
a1->m_bFlipY = a2;
v2->setTextureRect_0(a1, &a1->m_obRect, m_bRectRotated, &a1->m_obContentSize);
}
}