//
// cocos2d::CCSprite::setFlipX from 0x1002758e0 to 0x100275915 (53 bytes)
//
// 147 xrefs:
// > EditorUI::init @ 0x10000722b
// > EditLevelLayer::init @ 0x1001dd0ae
// > GJColorSetupLayer::init @ 0x1001eede2
// > RewardsPage::init @ 0x1001fda51
// > RewardsPage::init @ 0x1001fdad0
// > GJChestSprite::switchToState @ 0x1002024b0
// > MessagesProfilePage::init @ 0x1002124fb
// > SetupTriggerPopup::createPageButtons @ 0x100219c75
// > SetupTriggerPopup::createEasingControls @ 0x100223c8f
// > SetupTriggerPopup::createCustomEasingControls @ 0x100224e10
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x10024477f
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1002448ba
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x10024491f
// > EnhancedGameObject::updateSyncedAnimation @ 0x1002469e1
// > EnhancedGameObject::updateSyncedAnimation @ 0x100246d72
// > CreatorLayer::init @ 0x100282a3d
// > CreatorLayer::init @ 0x100282b70
// > SelectFontLayer::init @ 0x10028540f
// > GJOptionsLayer::init @ 0x100286aa5
// > EditorOptionsLayer::setupOptions @ 0x10028897e
// > EditorOptionsLayer::setupOptions @ 0x100288c3f
// > GJCommentListLayer::init @ 0x1002893ec
// > LevelInfoLayer::init @ 0x1002aa2b5
// > TopArtistsLayer::init @ 0x1002fb62a
// > SetGroupIDLayer::createTextInput @ 0x1002ffa94
// > CommunityCreditsPage::init @ 0x100309ffc
// > CommunityCreditsPage::init @ 0x10030a07b
// > CommunityCreditsPage::init @ 0x10030beb4
// > CCAnimatedSprite::switchToMode @ 0x10033c06e
// > cocos2d::extension::CCControlColourPicker::init @ 0x100340eaf
// > LevelListLayer::init @ 0x100347778
// > GJGarageLayer::init @ 0x100352994
// > GJGarageLayer::setupIconSelect @ 0x1003551ef
// > AchievementsLayer::customSetup @ 0x10035c775
// > CCPartAnimSprite::setFlipX @ 0x10035e6d3
// > ChallengesPage::init @ 0x100386d23
// > ChallengesPage::init @ 0x100386da2
// > WorldSelectLayer::init @ 0x1003ab52d
// > WorldSelectLayer::init @ 0x1003ab5e4
// > WorldLevelPage::init @ 0x1003af024
// > WorldLevelPage::init @ 0x1003af0a2
// > PauseLayer::customSetup @ 0x1003c0aab
// > ListButtonBar::init @ 0x1003dd5fa
// > PlayerObject::setFlipX @ 0x10040a32a
// > PlayerObject::setFlipX @ 0x10040a338
// > PlayerObject::setFlipX @ 0x10040a346
// > PlayerObject::setFlipX @ 0x10040a354
// > PlayerObject::setFlipX @ 0x10040a362
// > PlayerObject::setFlipX @ 0x10040a374
// > FollowRewardPage::init @ 0x10040c527
// > FollowRewardPage::init @ 0x10040c5aa
// > GJSmartTemplate::applyTransformationsForType @ 0x100413655
// > GJSmartTemplate::applyTransformationsForType @ 0x10041367d
// > LevelSelectLayer::init @ 0x10041f708
// > LevelSelectLayer::init @ 0x10041fd0d
// > SFXBrowser::init @ 0x10042c66c
// > GameObject::setupCustomSprites @ 0x100438f82
// > GameObject::setupCustomSprites @ 0x100439126
// > GameObject::setupCustomSprites @ 0x10043920e
// > GameObject::setupCustomSprites @ 0x10043b5c1
// > GameObject::setupCustomSprites @ 0x10043b758
// > GameObject::setupCustomSprites @ 0x10044059c
// > GameObject::setupCustomSprites @ 0x100440a08
// > GameObject::setupCustomSprites @ 0x100440aa9
// > GameObject::setupCustomSprites @ 0x100440cc0
// > GameObject::setupCustomSprites @ 0x100440e51
// > GameObject::setupCustomSprites @ 0x100441070
// > GameObject::setupCustomSprites @ 0x100441189
// > GameObject::setupCustomSprites @ 0x100441580
// > GameObject::setupCustomSprites @ 0x100441612
// > GameObject::setupCustomSprites @ 0x10044df58
// > GameObject::setupCustomSprites @ 0x10044ed4c
// > GameObject::setupCustomSprites @ 0x10044edae
// > GameObject::setupCustomSprites @ 0x10044ee8f
// > GameObject::setupCustomSprites @ 0x10044f96b
// > GameObject::setupCustomSprites @ 0x100450d9e
// > GameObject::setupCustomSprites @ 0x100450eb8
// > GameObject::setupCustomSprites @ 0x100451348
// > BoomListLayer::init @ 0x1004625cc
// > CreateParticlePopup::init @ 0x100466ef0
// > CCSpritePlus::setFlipX @ 0x100476731
// > CCSpritePlus::setFlipX @ 0x100476775
// > CCSpritePlus::setFlipX @ 0x1004767c5
// > LevelBrowserLayer::init @ 0x100480ac3
// > LevelBrowserLayer::init @ 0x100480d24
// > LevelBrowserLayer::init @ 0x100481f38
// > LevelBrowserLayer::init @ 0x100481f45
// > SetupReverbPopup::init @ 0x1004b10be
// > sub_1004B59F0 @ 0x1004b632c
// > EndLevelLayer::customSetup @ 0x1004b9208
// > ShardsPage::init @ 0x1004c0106
// > ShardsPage::init @ 0x1004c0185
// > ShardsPage::init @ 0x1004c1563
// > GJUINode::init @ 0x1004c5ef3
// > BrowseSmartTemplateLayer::baseSetup @ 0x1004e43e6
// > sub_100509EF0 @ 0x10050a82c
// > LeaderboardsLayer::init @ 0x10051393d
// > GauntletSelectLayer::init @ 0x10059e9a0
// > GauntletSelectLayer::init @ 0x10059eaff
// > GauntletSelectLayer::init @ 0x10059ebb5
// > GameSettingsLayer::addSpecialContent @ 0x10060120b
// > GameSettingsLayer::addSpecialContent @ 0x100601586
// > EditorUI::createDpadMoveMenu @ 0x10063a715
// > EditorUI::createDpadMoveMenu @ 0x10063a819
// > EditorUI::createDpadMoveMenu @ 0x10063a90f
// > EditorUI::createDpadMoveMenu @ 0x10063aa0f
// > sub_10063F6F0 @ 0x10063fa85
// > GJListLayer::init @ 0x1006a4266
// > GJListLayer::init @ 0x1006a4311
// > GJListLayer::init @ 0x1006a4455
// > EditButtonBar::loadFromItems @ 0x1006b467e
// > CustomSFXWidget::init @ 0x1006b6389
// > GJGroundLayer::init @ 0x1006bdc9a
// > sub_1006C4830 @ 0x1006c5562
// > GhostTrailEffect::trailSnapshot @ 0x1006d0c1e
// > GJSongBrowser::customSetup @ 0x1006d5e7e
// > MusicBrowser::init @ 0x1006e77ef
// > ConfigureValuePopup::init @ 0x100701959
// > LevelSearchLayer::init @ 0x10070469b
// > SecretRewardsLayer::init @ 0x10070d04b
// > SecretRewardsLayer::init @ 0x10070eaf4
// > SetupCameraOffsetTrigger::init @ 0x100741448
// > FRequestProfilePage::init @ 0x10086fa7a
// > MoreOptionsLayer::init @ 0x10087dca8
// > MoreVideoOptionsLayer::init @ 0x1008824c9
// > ParentalOptionsLayer::init @ 0x100884964
// > cocos2d::CCFlipX::update @ 0x10088fdf0
// > InfoLayer::init @ 0x10089279f
// > ProfilePage::setupComments @ 0x10089eb63
// > DeathTrackerPopup::init @ 0x1008cafe8
// > DeathTrackerPopup::init @ 0x1008cb113
// > sub_1008EF050 @ 0x1008efb35
// > sub_100904430 @ 0x1009044d0
// > sub_100904510 @ 0x100904575
// > FindObjectPopup::onBuildWindowContent @ 0x1009063d2
// > IDNameBrowserPopup::init @ 0x10090a2b9
// > LevelStatsInfoPopup::init @ 0x10092639e
// > MessageThreadsPage::init @ 0x10092904e
// > ThreadViewPopup::mountVirtualRow @ 0x100939273
// > NewsPopup::init @ 0x1009589f8
// > NewsPopup::init @ 0x100958a67
// > NewsPopup::init @ 0x100958cda
// > sub_10095C520 @ 0x10095c84f
// > NotificationsPage::init @ 0x10098b71f
// > AccountReviewPopup::buildReportedRows @ 0x10099cfd5
// > AccountReviewPopup::buildFilterRows @ 0x10099ebce
// > sub_10099F240 @ 0x1009a00d7
//
// This function is hookable on this platform (idp: pc, 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 12:27:39 +0000
//
__int64 __fastcall cocos2d::CCSprite::setFlipX(unsigned __int8 *a1, unsigned __int8 a2)
{
__int64 result; // rax
if ( a1[557] != a2 )
{
a1[557] = a2;
return (*(__int64 (__fastcall **)(unsigned __int8 *, unsigned __int8 *, _QWORD, unsigned __int8 *))(*(_QWORD *)a1 + 1144LL))(
a1,
a1 + 424,
a1[440],
a1 + 108);
}
return result;
}