//
// cocos2d::CCSprite::setFlipX from 0x7f162c to 0x7f1656 (42 bytes)
//
// 143 xrefs:
// > CCAnimatedSprite::switchToMode @ 0x3c358c
// > CCPartAnimSprite::setFlipX @ 0x3c7150
// > BoomListLayer::init @ 0x3db76e
// > GhostTrailEffect::trailSnapshot @ 0x3e4d72
// > CCSpritePlus::setFlipX @ 0x3e66a6
// > CCSpritePlus::setFlipX @ 0x3e66da
// > CCSpritePlus::setFlipX @ 0x3e66fc
// > ListButtonBar::init @ 0x3e6f12
// > EmoteSprite::initWithDef @ 0x3f43f2
// > GJSongBrowser::customSetup @ 0x3f71fc
// > GJUINode::init @ 0x3fd4a2
// > AchievementsLayer::customSetup @ 0x422554
// > PlayerObject::setFlipX @ 0x4347b6
// > PlayerObject::setFlipX @ 0x4347c0
// > PlayerObject::setFlipX @ 0x4347ca
// > PlayerObject::setFlipX @ 0x4347d4
// > PlayerObject::setFlipX @ 0x4347de
// > PlayerObject::setFlipX @ 0x4347ec
// > EditorUI::init @ 0x48ba5c
// > PauseLayer::customSetup @ 0x491738
// > CreatorLayer::init @ 0x494858
// > CreatorLayer::init @ 0x494932
// > LevelSearchLayer::init @ 0x498344
// > LevelInfoLayer::init @ 0x49d7d0
// > EditLevelLayer::init @ 0x4a11cc
// > LevelBrowserLayer::init @ 0x4a6ed2
// > LevelBrowserLayer::init @ 0x4a709a
// > LevelBrowserLayer::init @ 0x4a7c2c
// > LevelBrowserLayer::init @ 0x4a7c34
// > EditButtonBar::loadFromItems @ 0x4de4a8
// > GJGarageLayer::setupIconSelect @ 0x50fdbc
// > GJGarageLayer::init @ 0x510128
// > LevelSelectLayer::init @ 0x5128b0
// > LevelSelectLayer::init @ 0x512b1c
// > GJListLayer::init @ 0x51536e
// > GJListLayer::init @ 0x5153a0
// > GJListLayer::init @ 0x5154c4
// > MoreVideoOptionsLayer::init @ 0x52f026
// > ParentalOptionsLayer::init @ 0x53266c
// > MoreOptionsLayer::init @ 0x533a68
// > EndLevelLayer::customSetup @ 0x535e50
// > InfoLayer::init @ 0x53fadc
// > GJGroundLayer::init @ 0x545fdc
// > LeaderboardsLayer::init @ 0x563f68
// > GJColorSetupLayer::init @ 0x5c1c02
// > SelectFontLayer::init @ 0x5d6172
// > GJOptionsLayer::init @ 0x5d7142
// > GJCommentListLayer::init @ 0x5d9668
// > EditorOptionsLayer::setupOptions @ 0x5e1c26
// > EditorOptionsLayer::setupOptions @ 0x5e1f46
// > MessagesProfilePage::init @ 0x5f0a68
// > FRequestProfilePage::init @ 0x5f2a04
// > ProfilePage::setupComments @ 0x5f62f4
// > ChallengesPage::init @ 0x600386
// > ChallengesPage::init @ 0x60039c
// > ConfigureValuePopup::init @ 0x603248
// > GauntletSelectLayer::init @ 0x60d0da
// > GauntletSelectLayer::init @ 0x60d1d4
// > GauntletSelectLayer::init @ 0x60d240
// > RewardsPage::init @ 0x617596
// > RewardsPage::init @ 0x6175ac
// > GJChestSprite::switchToState @ 0x61871a
// > ShardsPage::init @ 0x62b740
// > ShardsPage::init @ 0x62b756
// > ShardsPage::init @ 0x62c72e
// > WorldSelectLayer::init @ 0x62e31c
// > WorldSelectLayer::init @ 0x62e380
// > WorldLevelPage::init @ 0x62ed10
// > WorldLevelPage::init @ 0x62ed26
// > FollowRewardPage::init @ 0x630756
// > FollowRewardPage::init @ 0x63076c
// > TopArtistsLayer::init @ 0x63189a
// > SetupCameraOffsetTrigger::init @ 0x6334c6
// > CommunityCreditsPage::init @ 0x637a52
// > CommunityCreditsPage::init @ 0x637a68
// > CommunityCreditsPage::init @ 0x638ed0
// > SetGroupIDLayer::createTextInput @ 0x63cf88
// > GameObject::setupCustomSprites @ 0x645028
// > GameObject::setupCustomSprites @ 0x645746
// > GameObject::setupCustomSprites @ 0x645812
// > GameObject::setupCustomSprites @ 0x64a744
// > GameObject::setupCustomSprites @ 0x64a77c
// > GameObject::setupCustomSprites @ 0x64a7be
// > GameObject::setupCustomSprites @ 0x64b0b8
// > GameObject::setupCustomSprites @ 0x64b100
// > GameObject::setupCustomSprites @ 0x64cc10
// > GameObject::setupCustomSprites @ 0x64cce6
// > GameObject::setupCustomSprites @ 0x64cd5a
// > GameObject::setupCustomSprites @ 0x6542ca
// > GameObject::setupCustomSprites @ 0x6543a4
// > GameObject::setupCustomSprites @ 0x65449c
// > GameObject::setupCustomSprites @ 0x654538
// > GameObject::setupCustomSprites @ 0x6546a4
// > GameObject::setupCustomSprites @ 0x65471c
// > GameObject::setupCustomSprites @ 0x654904
// > GameObject::setupCustomSprites @ 0x654986
// > GameObject::setupCustomSprites @ 0x654a08
// > GameObject::setupCustomSprites @ 0x654a8a
// > GameObject::setupCustomSprites @ 0x654b0c
// > SetupCameraRotatePopup::init @ 0x65acac
// > EnhancedGameObject::updateSyncedAnimation @ 0x65d452
// > EnhancedGameObject::updateSyncedAnimation @ 0x65d4a0
// > CreateParticlePopup::init @ 0x669d6c
// > GJSmartTemplate::applyTransformationsForType @ 0x66eb60
// > GJSmartTemplate::applyTransformationsForType @ 0x66eb80
// > BrowseSmartTemplateLayer::baseSetup @ 0x672ac4
// > SetupTriggerPopup::createPageButtons @ 0x67af44
// > SetupTriggerPopup::createEasingControls @ 0x67bb0a
// > SetupTriggerPopup::createCustomEasingControls @ 0x67c206
// > SetupGradientPopup::init @ 0x68786c
// > SetupMGTrigger::init @ 0x69b228
// > CustomSFXWidget::init @ 0x6a79fe
// > SetupReverbPopup::init @ 0x6b0820
// > sub_6BEA10 @ 0x6bece6
// > NewsPopup::init @ 0x6c31c6
// > NewsPopup::init @ 0x6c31dc
// > NewsPopup::init @ 0x6c33ec
// > sub_6C6B24 @ 0x6c704e
// > SecretRewardsLayer::init @ 0x6ce1cc
// > SecretRewardsLayer::init @ 0x6cf288
// > LevelListLayer::init @ 0x6d8806
// > EditorUI::createDpadMoveMenu @ 0x6f7106
// > GameSettingsLayer::addSpecialContent @ 0x7117c4
// > GameSettingsLayer::addSpecialContent @ 0x711a28
// > TabbedPopupLayer::createTabButtons @ 0x72dd46
// > PagedListPopup::initPaged @ 0x72e964
// > AccountReviewPopup::buildFilterRows @ 0x737164
// > AccountReviewPopup::buildHistoryRows @ 0x737cb4
// > AccountReviewPopup::buildReportedRows @ 0x73a026
// > NotificationsPage::init @ 0x743996
// > MessageThreadsPage::init @ 0x750a66
// > ThreadViewPopup::mountVirtualRow @ 0x75fa30
// > DeathTrackerPopup::init @ 0x775e18
// > DeathTrackerPopup::init @ 0x775f52
// > FindObjectPopup::onBuildWindowContent @ 0x77b81c
// > EditorSoundBrowserLayer::init @ 0x782d96
// > IDNameBrowserPopup::init @ 0x792d3e
// > LevelStatsInfoPopup::init @ 0x79c588
// > cocos2d::extension::CCControlColourPicker::init @ 0x7a8606
// > cocos2d::CCFlipX::update @ 0x7bb952
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x803fe6
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x8040c0
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x8040ce
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:04 +0000
//
int __fastcall cocos2d::CCSprite::setFlipX(int this, int a2)
{
int v2; // r2
if ( *(unsigned __int8 *)(this + 469) != a2 )
{
v2 = *(_DWORD *)this;
*(_BYTE *)(this + 469) = a2;
return (*(int (__fastcall **)(int, int, _DWORD, int))(v2 + 572))(
this,
this + 336,
*(unsigned __int8 *)(this + 352),
this + 104);
}
return this;
}