//
// cocos2d::CCSprite::setFlipX from 0x10028a380 to 0x10028a3b5 (53 bytes)
//
// 122 xrefs:
// > GJRotateCommandLayer::init @ 0x1000020b0
// > EditorUI::init @ 0x10000afd9
// > EditLevelLayer::init @ 0x1001faaa0
// > GJColorSetupLayer::init @ 0x10020ba92
// > RewardsPage::init @ 0x10021a4d1
// > RewardsPage::init @ 0x10021a550
// > GJChestSprite::switchToState @ 0x10021eda0
// > MessagesProfilePage::init @ 0x10022e236
// > SetupTriggerPopup::createPageButtons @ 0x1002353ed
// > SetupTriggerPopup::createEasingControls @ 0x10023e8d8
// > SetupTriggerPopup::createCustomEasingControls @ 0x10023f78f
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x10025a7ef
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x10025a92a
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x10025a98f
// > EnhancedGameObject::updateSyncedAnimation @ 0x10025ca4a
// > EnhancedGameObject::updateSyncedAnimation @ 0x10025cddb
// > CreatorLayer::init @ 0x100297e61
// > CreatorLayer::init @ 0x100297f96
// > SelectFontLayer::init @ 0x10029a30f
// > GJOptionsLayer::init @ 0x10029bfc7
// > EditorOptionsLayer::setupOptions @ 0x10029e1a1
// > EditorOptionsLayer::setupOptions @ 0x10029e462
// > GJCommentListLayer::init @ 0x10029ec07
// > LevelInfoLayer::init @ 0x1002bd89f
// > TopArtistsLayer::init @ 0x100310b0a
// > SetGroupIDLayer::createTextInput @ 0x100315114
// > CommunityCreditsPage::init @ 0x10031ec5c
// > CommunityCreditsPage::init @ 0x10031ecdb
// > CommunityCreditsPage::init @ 0x100320b14
// > CCAnimatedSprite::switchToMode @ 0x10035095e
// > cocos2d::extension::CCControlColourPicker::init @ 0x10035579f
// > LevelListLayer::init @ 0x10035c1c6
// > GJGarageLayer::init @ 0x100369584
// > GJGarageLayer::setupIconSelect @ 0x10036bddf
// > AchievementsLayer::customSetup @ 0x1003732a5
// > CCPartAnimSprite::setFlipX @ 0x100375203
// > ChallengesPage::init @ 0x10039d2f3
// > ChallengesPage::init @ 0x10039d372
// > WorldSelectLayer::init @ 0x1003c212d
// > WorldSelectLayer::init @ 0x1003c21e4
// > WorldLevelPage::init @ 0x1003c5b34
// > WorldLevelPage::init @ 0x1003c5bb2
// > ListButtonBar::init @ 0x1003f017a
// > PlayerObject::setFlipX @ 0x10041d50a
// > PlayerObject::setFlipX @ 0x10041d518
// > PlayerObject::setFlipX @ 0x10041d526
// > PlayerObject::setFlipX @ 0x10041d534
// > PlayerObject::setFlipX @ 0x10041d542
// > PlayerObject::setFlipX @ 0x10041d554
// > FollowRewardPage::init @ 0x10041fad7
// > FollowRewardPage::init @ 0x10041fb5a
// > GJSmartTemplate::applyTransformationsForType @ 0x1004269e5
// > GJSmartTemplate::applyTransformationsForType @ 0x100426a0d
// > LevelSelectLayer::init @ 0x100431f98
// > LevelSelectLayer::init @ 0x10043259d
// > SFXBrowser::init @ 0x10043edb6
// > GameObject::setupCustomSprites @ 0x100444b92
// > GameObject::setupCustomSprites @ 0x100444d36
// > GameObject::setupCustomSprites @ 0x100444e1e
// > GameObject::setupCustomSprites @ 0x1004471d1
// > GameObject::setupCustomSprites @ 0x100447368
// > GameObject::setupCustomSprites @ 0x10044c1ac
// > GameObject::setupCustomSprites @ 0x10044c618
// > GameObject::setupCustomSprites @ 0x10044c6b9
// > GameObject::setupCustomSprites @ 0x10044c8d0
// > GameObject::setupCustomSprites @ 0x10044ca61
// > GameObject::setupCustomSprites @ 0x10044cc80
// > GameObject::setupCustomSprites @ 0x10044cd99
// > GameObject::setupCustomSprites @ 0x10044d190
// > GameObject::setupCustomSprites @ 0x10044d222
// > GameObject::setupCustomSprites @ 0x100459b68
// > GameObject::setupCustomSprites @ 0x10045a95c
// > GameObject::setupCustomSprites @ 0x10045a9be
// > GameObject::setupCustomSprites @ 0x10045aa9f
// > GameObject::setupCustomSprites @ 0x10045b57b
// > GameObject::setupCustomSprites @ 0x10045c9ae
// > GameObject::setupCustomSprites @ 0x10045cac8
// > GameObject::setupCustomSprites @ 0x10045cf58
// > BoomListLayer::init @ 0x10046e1dc
// > CCSpritePlus::setFlipX @ 0x100481dd1
// > CCSpritePlus::setFlipX @ 0x100481e15
// > CCSpritePlus::setFlipX @ 0x100481e65
// > LevelBrowserLayer::init @ 0x10048b343
// > LevelBrowserLayer::init @ 0x10048b554
// > LevelBrowserLayer::init @ 0x10048c478
// > LevelBrowserLayer::init @ 0x10048c485
// > SetupReverbPopup::init @ 0x1004b808b
// > SetupCameraRotatePopup::init @ 0x1004bd319
// > EndLevelLayer::customSetup @ 0x1004c031b
// > ShardsPage::init @ 0x1004c5d36
// > ShardsPage::init @ 0x1004c5db5
// > ShardsPage::init @ 0x1004c7193
// > GJUINode::init @ 0x1004caaf3
// > BrowseSmartTemplateLayer::baseSetup @ 0x1004e9926
// > SetupMGTrigger::init @ 0x100508f89
// > LeaderboardsLayer::init @ 0x10051290d
// > GauntletSelectLayer::init @ 0x1005716a0
// > GauntletSelectLayer::init @ 0x1005717ff
// > GauntletSelectLayer::init @ 0x1005718b5
// > GJListLayer::init @ 0x1005d29c6
// > GJListLayer::init @ 0x1005d2a71
// > GJListLayer::init @ 0x1005d2bb5
// > EditButtonBar::loadFromItems @ 0x1005e22b2
// > CustomSFXWidget::init @ 0x1005e33de
// > GJGroundLayer::init @ 0x1005eac0a
// > SetupGradientPopup::init @ 0x1005f26ab
// > GhostTrailEffect::trailSnapshot @ 0x1005f9e1e
// > GJSongBrowser::customSetup @ 0x1005ff0fe
// > KeybindingsLayer::init @ 0x10060a689
// > MusicBrowser::init @ 0x10060e152
// > ConfigureValuePopup::init @ 0x1006250b9
// > LevelSearchLayer::init @ 0x100627d0c
// > SecretRewardsLayer::init @ 0x10063041b
// > SecretRewardsLayer::init @ 0x100631ec4
// > SetupCameraOffsetTrigger::init @ 0x100661f25
// > FRequestProfilePage::init @ 0x100790663
// > MoreOptionsLayer::init @ 0x10079c990
// > MoreVideoOptionsLayer::init @ 0x1007a13b9
// > ParentalOptionsLayer::init @ 0x1007a38c3
// > cocos2d::CCFlipX::update @ 0x1007acb50
// > InfoLayer::init @ 0x1007af6d8
// > ProfilePage::setupComments @ 0x1007b93d3
//
// 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 *a1, bool a2)
{
if ( a1->m_bFlipX != a2 )
{
a1->m_bFlipX = a2;
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, bool, cocos2d::CCSize *))a1->setTextureRect_0)(
a1,
&a1->m_obRect,
a1->m_bRectRotated,
&a1->m_obContentSize);
}
}