//
// cocos2d::CCSprite::setFlipY from 0x100275930 to 0x100275965 (53 bytes)
//
// 63 xrefs:
// > PlayLayer::playGravityEffect @ 0x100086e37
// > EditLevelLayer::init @ 0x1001ddc2d
// > ExplodeItemNode::createSprites @ 0x1001f7184
// > RewardsPage::init @ 0x1001fd9df
// > RewardsPage::init @ 0x1001fda5e
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x100244789
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1002448d0
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x100278d52
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x100278f62
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x1002790d2
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x100279282
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x100279472
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x100279622
// > CreatorLayer::init @ 0x100282ac5
// > CreatorLayer::init @ 0x100282b63
// > GJCommentListLayer::init @ 0x1002891f5
// > LevelInfoLayer::init @ 0x1002abaa3
// > CommunityCreditsPage::init @ 0x100309f8a
// > CommunityCreditsPage::init @ 0x10030a009
// > GJGarageLayer::init @ 0x100352869
// > CCPartAnimSprite::setFlipY @ 0x10035e71b
// > SetupRandAdvTriggerPopup::init @ 0x10037900f
// > ChallengesPage::init @ 0x100386cb1
// > ChallengesPage::init @ 0x100386d30
// > sub_1003914D0 @ 0x100391804
// > WorldLevelPage::init @ 0x1003aefb3
// > WorldLevelPage::init @ 0x1003af031
// > ShaderLayer::setupShader @ 0x1003b3fec
// > FollowRewardPage::init @ 0x10040c4b1
// > FollowRewardPage::init @ 0x10040c534
// > GJSmartTemplate::applyTransformationsForType @ 0x10041366a
// > GJSmartTemplate::applyTransformationsForType @ 0x10041368a
// > GameObject::setupCustomSprites @ 0x10043b5cc
// > GameObject::setupCustomSprites @ 0x10043b763
// > GameObject::setupCustomSprites @ 0x1004405a9
// > GameObject::setupCustomSprites @ 0x100440ab6
// > GameObject::setupCustomSprites @ 0x100440b5b
// > GameObject::setupCustomSprites @ 0x100440ccb
// > GameObject::setupCustomSprites @ 0x100440e5c
// > GameObject::setupCustomSprites @ 0x10044107b
// > GameObject::setupCustomSprites @ 0x100441194
// > GameObject::setupCustomSprites @ 0x10044ee9c
// > GameObject::setupCustomSprites @ 0x100450d91
// > GameObject::setupCustomSprites @ 0x100450eab
// > GameObject::setupCustomSprites @ 0x10045133b
// > CCSpritePlus::setFlipY @ 0x100476801
// > CCSpritePlus::setFlipY @ 0x100476845
// > CCSpritePlus::setFlipY @ 0x100476895
// > ShardsPage::init @ 0x1004c0094
// > ShardsPage::init @ 0x1004c0113
// > GauntletSelectLayer::init @ 0x10059ea4e
// > GauntletSelectLayer::init @ 0x10059eb0c
// > EditorUI::createDpadMoveMenu @ 0x10063a71f
// > EditorUI::createDpadMoveMenu @ 0x10063a823
// > EditorUI::createDpadMoveMenu @ 0x10063a91c
// > EditorUI::createDpadMoveMenu @ 0x10063aa19
// > GJListLayer::init @ 0x1006a42bd
// > GJListLayer::init @ 0x1006a431e
// > GhostTrailEffect::trailSnapshot @ 0x1006d0c31
// > cocos2d::CCFlipY::update @ 0x10088ffa0
// > MessageThreadsPage::init @ 0x10092927c
// > NewsPopup::init @ 0x100958996
// > NewsPopup::init @ 0x100958a05
//
// 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::setFlipY(unsigned __int8 *a1, unsigned __int8 a2)
{
__int64 result; // rax
if ( a1[558] != a2 )
{
a1[558] = a2;
return (*(__int64 (__fastcall **)(unsigned __int8 *, unsigned __int8 *, _QWORD, unsigned __int8 *))(*(_QWORD *)a1 + 1144LL))(
a1,
a1 + 424,
a1[440],
a1 + 108);
}
return result;
}