//
// cocos2d::CCSprite::setFlipY from 0x1002d5b2c to 0x1002d5b58 (44 bytes)
//
// 47 xrefs:
// > sub_1000079AC @ 0x1000079f4
// > sub_1000079AC @ 0x100007a24
// > LevelInfoLayer::init @ 0x100029358
// > SetupRandAdvTriggerPopup::init @ 0x1000325c4
// > ChallengesPage::init @ 0x1000357c8
// > ChallengesPage::init @ 0x1000357dc
// > ExplodeItemNode::createSprites @ 0x1000651b0
// > GJListLayer::init @ 0x10008845c
// > GJListLayer::init @ 0x1000884d4
// > CreatorLayer::init @ 0x1000db23c
// > CreatorLayer::init @ 0x1000db2c8
// > EditLevelLayer::init @ 0x10010f9cc
// > PlayLayer::playGravityEffect @ 0x1001471f0
// > sub_100186174 @ 0x100186580
// > CommunityCreditsPage::init @ 0x100235498
// > CommunityCreditsPage::init @ 0x1002354ac
// > CCSpritePlus::setFlipY @ 0x10024dbc8
// > CCSpritePlus::setFlipY @ 0x10024dbfc
// > CCSpritePlus::setFlipY @ 0x10024dc40
// > GauntletSelectLayer::init @ 0x100254500
// > GauntletSelectLayer::init @ 0x1002545ac
// > RewardsPage::init @ 0x1002597e8
// > RewardsPage::init @ 0x1002597fc
// > sub_10030BA7C @ 0x10030bd94
// > GameObject::setupCustomSprites @ 0x10034e6f0
// > GameObject::setupCustomSprites @ 0x10034e820
// > GameObject::setupCustomSprites @ 0x10034e968
// > GameObject::setupCustomSprites @ 0x10034ea64
// > GameObject::setupCustomSprites @ 0x100350be0
// > GameObject::setupCustomSprites @ 0x100350ca0
// > GameObject::setupCustomSprites @ 0x10035274c
// > GameObject::setupCustomSprites @ 0x100354fe0
// > GameObject::setupCustomSprites @ 0x10035507c
// > GameObject::setupCustomSprites @ 0x10036169c
// > GameObject::setupCustomSprites @ 0x100363040
// > GameObject::setupCustomSprites @ 0x10036312c
// > GameObject::setupCustomSprites @ 0x1003633d0
// > GJCommentListLayer::init @ 0x100372960
// > GhostTrailEffect::trailSnapshot @ 0x100391be0
// > GJGarageLayer::init @ 0x10039ea24
// > ShardsPage::init @ 0x100448814
// > ShardsPage::init @ 0x100448828
// > FollowRewardPage::init @ 0x1004a6d84
// > FollowRewardPage::init @ 0x1004a6d98
// > MessageThreadsPage::init @ 0x1004f4b90
// > NewsPopup::init @ 0x100517cc0
// > NewsPopup::init @ 0x100517cd4
//
// 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::setFlipY(unsigned __int8 *result, int a2)
{
if ( result[558] != a2 )
{
result[558] = 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;
}