//
// cocos2d::CCSprite::setFlipX from 0xd87354 to 0xd87390 (60 bytes)
//
// 145 xrefs:
// > CCAnimatedSprite::switchToMode @ 0x68c8b4
// > CCPartAnimSprite::setFlipX @ 0x69298c
// > BoomListLayer::init @ 0x6b6740
// > GhostTrailEffect::trailSnapshot @ 0x6c6148
// > CCSpritePlus::setFlipX @ 0x6c85f4
// > CCSpritePlus::setFlipX @ 0x6c861c
// > CCSpritePlus::setFlipX @ 0x6c8654
// > ListButtonBar::init @ 0x6c9390
// > EmoteSprite::initWithDef @ 0x6e15c4
// > GJSongBrowser::customSetup @ 0x6e6efc
// > GJUINode::init @ 0x6efe38
// > AchievementsLayer::customSetup @ 0x732fd8
// > PlayerObject::setFlipX @ 0x74dc98
// > PlayerObject::setFlipX @ 0x74dca4
// > PlayerObject::setFlipX @ 0x74dcb0
// > PlayerObject::setFlipX @ 0x74dcbc
// > PlayerObject::setFlipX @ 0x74dcc8
// > PlayerObject::setFlipX @ 0x74dcdc
// > EditorUI::init @ 0x7d0950
// > PauseLayer::customSetup @ 0x7d8c40
// > CreatorLayer::init @ 0x7dcfe0
// > CreatorLayer::init @ 0x7dd0ec
// > LevelSearchLayer::init @ 0x7e26c0
// > LevelInfoLayer::init @ 0x7eabc4
// > EditLevelLayer::init @ 0x7f04bc
// > LevelBrowserLayer::init @ 0x7f97f4
// > LevelBrowserLayer::init @ 0x7fa184
// > LevelBrowserLayer::init @ 0x7fa190
// > LevelBrowserLayer::init @ 0x7fa928
// > EditButtonBar::loadFromItems @ 0x861b84
// > GJGarageLayer::setupIconSelect @ 0x8c179c
// > GJGarageLayer::init @ 0x8c1c94
// > LevelSelectLayer::init @ 0x8c53b4
// > LevelSelectLayer::init @ 0x8c5958
// > GJListLayer::init @ 0x8c8e34
// > GJListLayer::init @ 0x8c90ec
// > GJListLayer::init @ 0x8c9188
// > MoreVideoOptionsLayer::init @ 0x8f1eb0
// > ParentalOptionsLayer::init @ 0x8f6fb8
// > MoreOptionsLayer::init @ 0x8f8ab0
// > EndLevelLayer::customSetup @ 0x8fcee0
// > InfoLayer::init @ 0x90b56c
// > GJGroundLayer::init @ 0x916d8c
// > LeaderboardsLayer::init @ 0x94f674
// > GJColorSetupLayer::init @ 0x9f7b7c
// > SelectFontLayer::init @ 0xa22124
// > GJOptionsLayer::init @ 0xa23a80
// > GJCommentListLayer::init @ 0xa27dec
// > EditorOptionsLayer::setupOptions @ 0xa35858
// > EditorOptionsLayer::setupOptions @ 0xa35b1c
// > MessagesProfilePage::init @ 0xa4b8ec
// > FRequestProfilePage::init @ 0xa4ea6c
// > ProfilePage::setupComments @ 0xa543cc
// > ChallengesPage::init @ 0xa63b38
// > ChallengesPage::init @ 0xa6408c
// > ConfigureValuePopup::init @ 0xa679ec
// > GauntletSelectLayer::init @ 0xa76dcc
// > GauntletSelectLayer::init @ 0xa76f0c
// > GauntletSelectLayer::init @ 0xa76fa8
// > RewardsPage::init @ 0xa85d98
// > RewardsPage::init @ 0xa863bc
// > GJChestSprite::switchToState @ 0xa87668
// > ShardsPage::init @ 0xaa3f1c
// > ShardsPage::init @ 0xaa4b9c
// > ShardsPage::init @ 0xaa5480
// > WorldSelectLayer::init @ 0xaa8214
// > WorldSelectLayer::init @ 0xaa82a8
// > WorldLevelPage::init @ 0xaa8fe4
// > WorldLevelPage::init @ 0xaa9a90
// > FollowRewardPage::init @ 0xaab464
// > FollowRewardPage::init @ 0xaac05c
// > TopArtistsLayer::init @ 0xaace18
// > SetupCameraOffsetTrigger::init @ 0xaafa90
// > CommunityCreditsPage::init @ 0xab5fc0
// > CommunityCreditsPage::init @ 0xab7b00
// > CommunityCreditsPage::init @ 0xab7c2c
// > SetGroupIDLayer::createTextInput @ 0xabec08
// > GameObject::setupCustomSprites @ 0xac9c60
// > GameObject::setupCustomSprites @ 0xac9cec
// > GameObject::setupCustomSprites @ 0xacd050
// > GameObject::setupCustomSprites @ 0xacd184
// > GameObject::setupCustomSprites @ 0xad1318
// > GameObject::setupCustomSprites @ 0xad13c8
// > GameObject::setupCustomSprites @ 0xad2270
// > GameObject::setupCustomSprites @ 0xad233c
// > GameObject::setupCustomSprites @ 0xad2424
// > GameObject::setupCustomSprites @ 0xad6b7c
// > GameObject::setupCustomSprites @ 0xad6f68
// > GameObject::setupCustomSprites @ 0xad9dcc
// > GameObject::setupCustomSprites @ 0xad9e80
// > GameObject::setupCustomSprites @ 0xad9f40
// > GameObject::setupCustomSprites @ 0xada688
// > GameObject::setupCustomSprites @ 0xadbbb4
// > GameObject::setupCustomSprites @ 0xadbc1c
// > GameObject::setupCustomSprites @ 0xadbc8c
// > GameObject::setupCustomSprites @ 0xadd598
// > GameObject::setupCustomSprites @ 0xadd66c
// > GameObject::setupCustomSprites @ 0xadd73c
// > GameObject::setupCustomSprites @ 0xadef2c
// > SetupCameraRotatePopup::init @ 0xaede6c
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1898
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1a18
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1a90
// > CreateParticlePopup::init @ 0xb01d40
// > GJSmartTemplate::applyTransformationsForType @ 0xb0c5e8
// > GJSmartTemplate::applyTransformationsForType @ 0xb0c674
// > BrowseSmartTemplateLayer::baseSetup @ 0xb147fc
// > SetupTriggerPopup::createPageButtons @ 0xb20844
// > SetupTriggerPopup::createEasingControls @ 0xb21bf0
// > SetupTriggerPopup::createCustomEasingControls @ 0xb2262c
// > SetupGradientPopup::init @ 0xb31384
// > SetupMGTrigger::init @ 0xb4eb4c
// > CustomSFXWidget::init @ 0xb600bc
// > SetupReverbPopup::init @ 0xb6ce40
// > sub_B85DD0 @ 0xb861e8
// > NewsPopup::init @ 0xb8d8fc
// > NewsPopup::init @ 0xb8db04
// > NewsPopup::init @ 0xb8db18
// > sub_B947C8 @ 0xb94e98
// > SecretRewardsLayer::init @ 0xb9f388
// > SecretRewardsLayer::init @ 0xba04b8
// > LevelListLayer::init @ 0xbaecf4
// > EditorUI::createDpadMoveMenu @ 0xbe0c50
// > GameSettingsLayer::addSpecialContent @ 0xc06264
// > GameSettingsLayer::addSpecialContent @ 0xc065f8
// > TabbedPopupLayer::createTabButtons @ 0xc3851c
// > PagedListPopup::initPaged @ 0xc39c44
// > AccountReviewPopup::buildFilterRows @ 0xc46d78
// > AccountReviewPopup::buildHistoryRows @ 0xc48790
// > AccountReviewPopup::buildReportedRows @ 0xc4e22c
// > NotificationsPage::init @ 0xc5f418
// > MessageThreadsPage::init @ 0xc75e8c
// > ThreadViewPopup::mountVirtualRow @ 0xc8bed0
// > DeathTrackerPopup::init @ 0xcb448c
// > DeathTrackerPopup::init @ 0xcb45a8
// > FindObjectPopup::onBuildWindowContent @ 0xcbd630
// > EditorSoundBrowserLayer::init @ 0xcc9f08
// > IDNameBrowserPopup::init @ 0xce31fc
// > LevelStatsInfoPopup::init @ 0xcf9b84
// > cocos2d::extension::CCControlColourPicker::init @ 0xd0e6a0
// > cocos2d::CCFlipX::update @ 0xd2ed70
// > cocos2d::CCTMXLayer::setupTileSprite @ 0xdabb0c
// > cocos2d::CCTMXLayer::setupTileSprite @ 0xdabc88
// > cocos2d::CCTMXLayer::setupTileSprite @ 0xdabc98
// > ??> @ 0x100168
//
// 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 13:08:13 +0000
//
__int64 *__fastcall cocos2d::CCSprite::setFlipX(__int64 *this, unsigned __int8 a2)
{
__int64 v2; // x4
if ( *((unsigned __int8 *)this + 557) != a2 )
{
v2 = *this;
*((_BYTE *)this + 557) = a2;
return (__int64 *)(*(__int64 (__fastcall **)(__int64 *, __int64 *, _QWORD, __int64))(v2 + 1144))(
this,
this + 53,
*((unsigned __int8 *)this + 440),
(__int64)this + 108);
}
return this;
}