//
// cocos2d::CCSprite::setFlipY from 0x18008f770 to 0x18008f79c (44 bytes)
//
// 10 xrefs:
// > cocos2d::CCFlipY::update @ 0x180030d88
// > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x1800596c4
// > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1800597d4
// > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x1800598e4
// > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x1800599f4
// > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x180059ac4
// > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x180059b94
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800b08e7
// > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800b0ab8
// > ??> @ 0x18014cf68
//
// 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 11:22:07 +0000
//
void __fastcall cocos2d::CCSprite::setFlipY(cocos2d::CCSprite *this, char a2)
{
__int64 v2; // rax
__int64 v3; // r8
if ( *((_BYTE *)this + 558) != a2 )
{
v2 = *(_QWORD *)this;
v3 = *((unsigned __int8 *)this + 440);
*((_BYTE *)this + 558) = a2;
(*(void (__fastcall **)(cocos2d::CCSprite *, char *, __int64, char *))(v2 + 984))(
this,
(char *)this + 424,
v3,
(char *)this + 108);
}
}