//
// cocos2d::CCSprite::setFlipX from 0x1002390e8 to 0x100239114 (44 bytes)
//
// 110 xrefs:
// > GJSmartTemplate::applyTransformationsForType @ 0x100007a68
// > GJSmartTemplate::applyTransformationsForType @ 0x100007aac
// > LevelInfoLayer::init @ 0x10002473c
// > GJGroundLayer::init @ 0x10002bba0
// > ChallengesPage::init @ 0x100031d08
// > ChallengesPage::init @ 0x100031d3c
// > SetGroupIDLayer::createTextInput @ 0x10003d32c
// > GJUINode::init @ 0x10004aad8
// > LevelSearchLayer::init @ 0x10005167c
// > BrowseSmartTemplateLayer::baseSetup @ 0x100071be4
// > CCPartAnimSprite::setFlipX @ 0x10007f3dc
// > GJListLayer::init @ 0x10007fce0
// > GJListLayer::init @ 0x10007fd1c
// > GJListLayer::init @ 0x10007fe5c
// > CreatorLayer::init @ 0x1000b5778
// > CreatorLayer::init @ 0x1000b5884
// > EditLevelLayer::init @ 0x1000e9118
// > MoreOptionsLayer::init @ 0x1000ee760
// > MoreVideoOptionsLayer::init @ 0x1000f1768
// > ParentalOptionsLayer::init @ 0x1000f2c30
// > SetupTriggerPopup::createPageButtons @ 0x10012e768
// > SetupTriggerPopup::createEasingControls @ 0x100133c78
// > SetupTriggerPopup::createCustomEasingControls @ 0x100134940
// > ConfigureValuePopup::init @ 0x1001500fc
// > ListButtonBar::init @ 0x100168044
// > SFXBrowser::init @ 0x100168f68
// > SetupReverbPopup::init @ 0x10017f558
// > GJColorSetupLayer::init @ 0x10018e148
// > SetupCameraOffsetTrigger::init @ 0x10018f5a4
// > ProfilePage::setupComments @ 0x1001975e4
// > CommunityCreditsPage::init @ 0x1001a0684
// > CommunityCreditsPage::init @ 0x1001a06b8
// > CommunityCreditsPage::init @ 0x1001a20b0
// > TopArtistsLayer::init @ 0x1001a4a8c
// > cocos2d::extension::CCControlColourPicker::init @ 0x1001ae338
// > FRequestProfilePage::init @ 0x1001b67b8
// > CCSpritePlus::setFlipX @ 0x1001b7ea4
// > CCSpritePlus::setFlipX @ 0x1001b7ed8
// > CCSpritePlus::setFlipX @ 0x1001b7f1c
// > GauntletSelectLayer::init @ 0x1001be968
// > GauntletSelectLayer::init @ 0x1001beaa8
// > GauntletSelectLayer::init @ 0x1001beb80
// > RewardsPage::init @ 0x1001c3c90
// > RewardsPage::init @ 0x1001c3cc4
// > GJChestSprite::switchToState @ 0x1001c76ec
// > MessagesProfilePage::init @ 0x1001cc688
// > PlayerObject::setFlipX @ 0x10022e750
// > PlayerObject::setFlipX @ 0x10022e75c
// > PlayerObject::setFlipX @ 0x10022e768
// > PlayerObject::setFlipX @ 0x10022e774
// > PlayerObject::setFlipX @ 0x10022e780
// > PlayerObject::setFlipX @ 0x10022e794
// > LevelListLayer::init @ 0x1002435c4
// > GJSongBrowser::customSetup @ 0x100265c40
// > GameObject::setupCustomSprites @ 0x1002af370
// > GameObject::setupCustomSprites @ 0x1002af5a8
// > GameObject::setupCustomSprites @ 0x1002af678
// > GameObject::setupCustomSprites @ 0x1002af93c
// > GameObject::setupCustomSprites @ 0x1002afa6c
// > GameObject::setupCustomSprites @ 0x1002afbb4
// > GameObject::setupCustomSprites @ 0x1002afcb0
// > GameObject::setupCustomSprites @ 0x1002b1e2c
// > GameObject::setupCustomSprites @ 0x1002b1eec
// > GameObject::setupCustomSprites @ 0x1002b3998
// > GameObject::setupCustomSprites @ 0x1002b6194
// > GameObject::setupCustomSprites @ 0x1002b622c
// > GameObject::setupCustomSprites @ 0x1002b6504
// > GameObject::setupCustomSprites @ 0x1002b6588
// > GameObject::setupCustomSprites @ 0x1002c0dfc
// > GameObject::setupCustomSprites @ 0x1002c28e8
// > GameObject::setupCustomSprites @ 0x1002c2940
// > GameObject::setupCustomSprites @ 0x1002c299c
// > GameObject::setupCustomSprites @ 0x1002c3540
// > GameObject::setupCustomSprites @ 0x1002c42a8
// > GameObject::setupCustomSprites @ 0x1002c4390
// > GameObject::setupCustomSprites @ 0x1002c4634
// > SelectFontLayer::init @ 0x1002d1fe8
// > GJOptionsLayer::init @ 0x1002d317c
// > EditorOptionsLayer::setupOptions @ 0x1002d4510
// > EditorOptionsLayer::setupOptions @ 0x1002d47b8
// > GJCommentListLayer::init @ 0x1002d4ee8
// > SecretRewardsLayer::init @ 0x1002e830c
// > SecretRewardsLayer::init @ 0x1002e9778
// > CustomSFXWidget::init @ 0x1002f053c
// > SetupMGTrigger::init @ 0x1002f2214
// > GhostTrailEffect::trailSnapshot @ 0x1002f53d0
// > EndLevelLayer::customSetup @ 0x1002f5b58
// > CCAnimatedSprite::switchToMode @ 0x1002fd9d0
// > GJGarageLayer::init @ 0x100301e40
// > GJGarageLayer::setupIconSelect @ 0x100304278
// > SetupGradientPopup::init @ 0x100342e58
// > EnhancedGameObject::updateSyncedAnimation @ 0x100348c7c
// > EnhancedGameObject::updateSyncedAnimation @ 0x100348cfc
// > InfoLayer::init @ 0x100350a80
// > ShardsPage::init @ 0x1003a1d5c
// > ShardsPage::init @ 0x1003a1d90
// > ShardsPage::init @ 0x1003a2fc4
// > LeaderboardsLayer::init @ 0x1003b0b48
// > MusicBrowser::init @ 0x1003c126c
// > EditorUI::init @ 0x1003c68d8
// > LevelSelectLayer::init @ 0x100401cbc
// > LevelSelectLayer::init @ 0x100401fb4
// > LevelBrowserLayer::init @ 0x100414588
// > LevelBrowserLayer::init @ 0x1004147a0
// > LevelBrowserLayer::init @ 0x100415654
// > LevelBrowserLayer::init @ 0x100415660
// > EditButtonBar::loadFromItems @ 0x100421310
// > AchievementsLayer::customSetup @ 0x100421f0c
// > FollowRewardPage::init @ 0x100424894
// > FollowRewardPage::init @ 0x1004248c8
//
// 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);
}
}