//
// cocos2d::CCSprite::setFlipY from 0xd87398 to 0xd873d4 (60 bytes)
//
// 61 xrefs:
// > CCPartAnimSprite::setFlipY @ 0x6929e8
// > GhostTrailEffect::trailSnapshot @ 0x6c615c
// > CCSpritePlus::setFlipY @ 0x6c869c
// > CCSpritePlus::setFlipY @ 0x6c86c4
// > CCSpritePlus::setFlipY @ 0x6c86fc
// > PlayLayer::playGravityEffect @ 0x6f79f4
// > CreatorLayer::init @ 0x7dd054
// > CreatorLayer::init @ 0x7dd0e0
// > LevelInfoLayer::init @ 0x7eba90
// > EditLevelLayer::init @ 0x7f0d28
// > GJGarageLayer::init @ 0x8c1b88
// > GJListLayer::init @ 0x8c90f8
// > GJListLayer::init @ 0x8c9140
// > GJCommentListLayer::init @ 0xa27be8
// > ChallengesPage::init @ 0xa64048
// > ChallengesPage::init @ 0xa64098
// > GauntletSelectLayer::init @ 0xa76e6c
// > GauntletSelectLayer::init @ 0xa76f18
// > RewardsPage::init @ 0xa86378
// > RewardsPage::init @ 0xa863c8
// > ShardsPage::init @ 0xaa543c
// > ShardsPage::init @ 0xaa548c
// > WorldLevelPage::init @ 0xaa9a4c
// > WorldLevelPage::init @ 0xaa9a9c
// > FollowRewardPage::init @ 0xaac018
// > FollowRewardPage::init @ 0xaac068
// > CommunityCreditsPage::init @ 0xab7be8
// > CommunityCreditsPage::init @ 0xab7c38
// > GameObject::setupCustomSprites @ 0xac9cf8
// > GameObject::setupCustomSprites @ 0xac9d84
// > GameObject::setupCustomSprites @ 0xacd190
// > GameObject::setupCustomSprites @ 0xad1324
// > GameObject::setupCustomSprites @ 0xad13d4
// > GameObject::setupCustomSprites @ 0xad227c
// > GameObject::setupCustomSprites @ 0xad2348
// > GameObject::setupCustomSprites @ 0xad2430
// > GameObject::setupCustomSprites @ 0xad6b88
// > GameObject::setupCustomSprites @ 0xadd58c
// > GameObject::setupCustomSprites @ 0xadd660
// > GameObject::setupCustomSprites @ 0xadd730
// > GameObject::setupCustomSprites @ 0xadef38
// > SetupRandAdvTriggerPopup::init @ 0xaf09e4
// > GJSmartTemplate::applyTransformationsForType @ 0xb0c688
// > GJSmartTemplate::applyTransformationsForType @ 0xb0c694
// > ShaderLayer::setupShader @ 0xb2deb8
// > ExplodeItemNode::createSprites @ 0xb54140
// > NewsPopup::init @ 0xb8daec
// > NewsPopup::init @ 0xb8db24
// > EditorUI::createDpadMoveMenu @ 0xbe0c60
// > MessageThreadsPage::init @ 0xc760a8
// > cocos2d::extension::CCControlSwitchSprite::needsLayout @ 0xd11080
// > cocos2d::CCFlipY::update @ 0xd2ed80
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0xd62688
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0xd62780
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0xd6287c
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0xd629b0
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0xd62ae4
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0xd62c14
// > cocos2d::CCTMXLayer::setupTileSprite @ 0xdabb18
// > cocos2d::CCTMXLayer::setupTileSprite @ 0xdabb98
// > ??> @ 0x76c00
//
// 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::setFlipY(__int64 *this, unsigned __int8 a2)
{
__int64 v2; // x4
if ( *((unsigned __int8 *)this + 558) != a2 )
{
v2 = *this;
*((_BYTE *)this + 558) = a2;
return (__int64 *)(*(__int64 (__fastcall **)(__int64 *, __int64 *, _QWORD, __int64))(v2 + 1144))(
this,
this + 53,
*((unsigned __int8 *)this + 440),
(__int64)this + 108);
}
return this;
}