//
// cocos2d::CCSprite::setFlipX from 0x1002d5af8 to 0x1002d5b24 (44 bytes)
//
// 129 xrefs:
// > sub_1000079AC @ 0x100007a68
// > sub_1000079AC @ 0x100007aac
// > LevelInfoLayer::init @ 0x100027cfc
// > GJGroundLayer::init @ 0x10002f480
// > ChallengesPage::init @ 0x1000357bc
// > ChallengesPage::init @ 0x1000357f0
// > SetGroupIDLayer::createTextInput @ 0x100040cac
// > GJUINode::init @ 0x100053280
// > LevelSearchLayer::init @ 0x100059eac
// > sub_10007A10C @ 0x10007a384
// > sub_100087B48 @ 0x100087b88
// > GJListLayer::init @ 0x10008848c
// > GJListLayer::init @ 0x1000884c8
// > GJListLayer::init @ 0x100088608
// > CreatorLayer::init @ 0x1000db1c8
// > CreatorLayer::init @ 0x1000db2d4
// > EditLevelLayer::init @ 0x10010efe4
// > MoreVideoOptionsLayer::init @ 0x100115624
// > ParentalOptionsLayer::init @ 0x100116ca8
// > GameSettingsLayer::addSpecialContent @ 0x100165b50
// > GameSettingsLayer::addSpecialContent @ 0x100165ec8
// > sub_100186174 @ 0x100186568
// > TabbedPopupLayer::createTabButtons @ 0x1001aa3ec
// > sub_1001AC15C @ 0x1001ac2fc
// > SetupTriggerPopup::createEasingControls @ 0x1001b1cf4
// > SetupTriggerPopup::createCustomEasingControls @ 0x1001b2c08
// > PauseLayer::customSetup @ 0x1001bf148
// > sub_1001CE6A8 @ 0x1001ced70
// > ListButtonBar::init @ 0x1001f0df0
// > SFXBrowser::init @ 0x1001f1cdc
// > sub_1002120BC @ 0x1002122dc
// > sub_100220E68 @ 0x100221350
// > sub_100221F74 @ 0x1002227b8
// > sub_10022AB0C @ 0x10022ac18
// > CommunityCreditsPage::init @ 0x10023548c
// > CommunityCreditsPage::init @ 0x1002354c0
// > CommunityCreditsPage::init @ 0x100236eb8
// > TopArtistsLayer::init @ 0x1002399fc
// > cocos2d::extension::CCControlColourPicker::init @ 0x100243414
// > FRequestProfilePage::init @ 0x10024b720
// > CCSpritePlus::setFlipX @ 0x10024db10
// > CCSpritePlus::setFlipX @ 0x10024db44
// > CCSpritePlus::setFlipX @ 0x10024db88
// > GauntletSelectLayer::init @ 0x100254460
// > GauntletSelectLayer::init @ 0x1002545a0
// > GauntletSelectLayer::init @ 0x100254678
// > RewardsPage::init @ 0x1002597dc
// > RewardsPage::init @ 0x100259810
// > GJChestSprite::switchToState @ 0x10025d2a4
// > MessagesProfilePage::init @ 0x100264468
// > PlayerObject::setFlipX @ 0x1002cb4b8
// > PlayerObject::setFlipX @ 0x1002cb4c4
// > PlayerObject::setFlipX @ 0x1002cb4d0
// > PlayerObject::setFlipX @ 0x1002cb4dc
// > PlayerObject::setFlipX @ 0x1002cb4e8
// > PlayerObject::setFlipX @ 0x1002cb4fc
// > LevelListLayer::init @ 0x1002e0670
// > GJSongBrowser::customSetup @ 0x100302fcc
// > GameObject::setupCustomSprites @ 0x10034e118
// > GameObject::setupCustomSprites @ 0x10034e350
// > GameObject::setupCustomSprites @ 0x10034e420
// > GameObject::setupCustomSprites @ 0x10034e6e4
// > GameObject::setupCustomSprites @ 0x10034e814
// > GameObject::setupCustomSprites @ 0x10034e95c
// > GameObject::setupCustomSprites @ 0x10034ea58
// > GameObject::setupCustomSprites @ 0x100350bd4
// > GameObject::setupCustomSprites @ 0x100350c94
// > GameObject::setupCustomSprites @ 0x100352740
// > GameObject::setupCustomSprites @ 0x100354f3c
// > GameObject::setupCustomSprites @ 0x100354fd4
// > GameObject::setupCustomSprites @ 0x1003552ac
// > GameObject::setupCustomSprites @ 0x100355330
// > GameObject::setupCustomSprites @ 0x10035fba4
// > GameObject::setupCustomSprites @ 0x100361690
// > GameObject::setupCustomSprites @ 0x1003616e8
// > GameObject::setupCustomSprites @ 0x100361744
// > GameObject::setupCustomSprites @ 0x1003622e8
// > GameObject::setupCustomSprites @ 0x100363050
// > GameObject::setupCustomSprites @ 0x100363138
// > GameObject::setupCustomSprites @ 0x1003633dc
// > sub_100369218 @ 0x10036c5cc
// > GJOptionsLayer::init @ 0x1003719ec
// > GJCommentListLayer::init @ 0x100372b6c
// > SecretRewardsLayer::init @ 0x100383494
// > SecretRewardsLayer::init @ 0x100384900
// > CustomSFXWidget::init @ 0x10038be44
// > sub_10038DCA0 @ 0x10038e4cc
// > GhostTrailEffect::trailSnapshot @ 0x100391bcc
// > EndLevelLayer::customSetup @ 0x1003922e4
// > sub_10039A2FC @ 0x10039a388
// > GJGarageLayer::init @ 0x10039eb30
// > GJGarageLayer::setupIconSelect @ 0x1003a0f68
// > sub_1003E0E90 @ 0x1003e16c4
// > EnhancedGameObject::updateSyncedAnimation @ 0x1003e71a0
// > EnhancedGameObject::updateSyncedAnimation @ 0x1003e7220
// > InfoLayer::init @ 0x1003eee08
// > ShardsPage::init @ 0x100448808
// > ShardsPage::init @ 0x10044883c
// > ShardsPage::init @ 0x100449a70
// > LeaderboardsLayer::init @ 0x100457b20
// > sub_100467BDC @ 0x100467fb0
// > EditorUI::init @ 0x1004702ec
// > LevelSelectLayer::init @ 0x100482520
// > LevelSelectLayer::init @ 0x100482818
// > LevelBrowserLayer::init @ 0x10049531c
// > LevelBrowserLayer::init @ 0x10049556c
// > LevelBrowserLayer::init @ 0x100496988
// > LevelBrowserLayer::init @ 0x100496994
// > EditButtonBar::loadFromItems @ 0x1004a3440
// > AchievementsLayer::customSetup @ 0x1004a43e0
// > FollowRewardPage::init @ 0x1004a6d78
// > FollowRewardPage::init @ 0x1004a6dac
// > DeathTrackerPopup::init @ 0x1004ba040
// > DeathTrackerPopup::init @ 0x1004ba164
// > sub_1004CC170 @ 0x1004cc9d4
// > EmoteSprite::initWithDef @ 0x1004dc5fc
// > FindObjectPopup::onBuildWindowContent @ 0x1004dd928
// > sub_1004DF904 @ 0x1004e0490
// > LevelStatsInfoPopup::init @ 0x1004f28c8
// > MessageThreadsPage::init @ 0x1004f4988
// > ThreadViewPopup::mountVirtualRow @ 0x100500b5c
// > NewsPopup::init @ 0x100517cb4
// > NewsPopup::init @ 0x100517ce8
// > NewsPopup::init @ 0x100517f58
// > sub_10051A8C8 @ 0x10051abb4
// > NotificationsPage::init @ 0x10053b2e8
// > sub_1005452FC @ 0x100545fb0
// > sub_1005467AC @ 0x100547520
// > sub_100547AA0 @ 0x100548a7c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 11:02:40 +0000
//
unsigned __int8 *__fastcall cocos2d::CCSprite::setFlipX(unsigned __int8 *result, int a2)
{
if ( result[557] != a2 )
{
result[557] = a2;
return (unsigned __int8 *)(*(__int64 (__fastcall **)(unsigned __int8 *, unsigned __int8 *, _QWORD, unsigned __int8 *))(*(_QWORD *)result + 1144LL))(
result,
result + 424,
result[440],
result + 108);
}
return result;
}