//
// cocos2d::CCSprite::setFlipY from 0x10028a3d0 to 0x10028a405 (53 bytes)
//
// 54 xrefs:
// > PlayLayer::playGravityEffect @ 0x1000b9537
// > ExplodeItemNode::createSprites @ 0x100213c54
// > RewardsPage::init @ 0x10021a45f
// > RewardsPage::init @ 0x10021a4de
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x10025a7f9
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x10025a940
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x10028d6e2
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x10028d8f2
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x10028da62
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x10028dc12
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x10028de02
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x10028dfb2
// > CreatorLayer::init @ 0x100297eeb
// > CreatorLayer::init @ 0x100297f89
// > GJCommentListLayer::init @ 0x10029ea10
// > LevelInfoLayer::init @ 0x1002bee7d
// > CommunityCreditsPage::init @ 0x10031ebea
// > CommunityCreditsPage::init @ 0x10031ec69
// > GJGarageLayer::init @ 0x100369459
// > CCPartAnimSprite::setFlipY @ 0x10037524b
// > ChallengesPage::init @ 0x10039d281
// > ChallengesPage::init @ 0x10039d300
// > sub_1003A7CE0 @ 0x1003a8014
// > WorldLevelPage::init @ 0x1003c5ac3
// > WorldLevelPage::init @ 0x1003c5b41
// > ShaderLayer::setupShader @ 0x1003cab0c
// > FollowRewardPage::init @ 0x10041fa61
// > FollowRewardPage::init @ 0x10041fae4
// > GJSmartTemplate::applyTransformationsForType @ 0x1004269fa
// > GJSmartTemplate::applyTransformationsForType @ 0x100426a1a
// > GameObject::setupCustomSprites @ 0x1004471dc
// > GameObject::setupCustomSprites @ 0x100447373
// > GameObject::setupCustomSprites @ 0x10044c1b9
// > GameObject::setupCustomSprites @ 0x10044c6c6
// > GameObject::setupCustomSprites @ 0x10044c76b
// > GameObject::setupCustomSprites @ 0x10044c8db
// > GameObject::setupCustomSprites @ 0x10044ca6c
// > GameObject::setupCustomSprites @ 0x10044cc8b
// > GameObject::setupCustomSprites @ 0x10044cda4
// > GameObject::setupCustomSprites @ 0x10045aaac
// > GameObject::setupCustomSprites @ 0x10045c9a1
// > GameObject::setupCustomSprites @ 0x10045cabb
// > GameObject::setupCustomSprites @ 0x10045cf4b
// > CCSpritePlus::setFlipY @ 0x100481ea1
// > CCSpritePlus::setFlipY @ 0x100481ee5
// > CCSpritePlus::setFlipY @ 0x100481f35
// > ShardsPage::init @ 0x1004c5cc4
// > ShardsPage::init @ 0x1004c5d43
// > GauntletSelectLayer::init @ 0x10057174e
// > GauntletSelectLayer::init @ 0x10057180c
// > GJListLayer::init @ 0x1005d2a1d
// > GJListLayer::init @ 0x1005d2a7e
// > GhostTrailEffect::trailSnapshot @ 0x1005f9e31
// > cocos2d::CCFlipY::update @ 0x1007acd00
//
// 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 *a1, bool a2)
{
if ( a1->m_bFlipY != a2 )
{
a1->m_bFlipY = a2;
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, bool, cocos2d::CCSize *))a1->setTextureRect_0)(
a1,
&a1->m_obRect,
a1->m_bRectRotated,
&a1->m_obContentSize);
}
}