//
// cocos2d::CCSprite::setSkewX from 0x18008fbc0 to 0x18008fc19 (89 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f1a70
// > ??> @ 0x1800f1f58
// > ??> @ 0x1800f2b08
// > ??> @ 0x180109f48
// > ??> @ 0x18010cf60
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c00cc
//
// 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::setSkewX(cocos2d::CCSprite *this, float a2)
{
__int64 v3; // rdx
__int64 v4; // rax
__int64 v5; // rdx
cocos2d::CCNode::setSkewX(this, a2);
if ( *((_QWORD *)this + 46) && !*((_BYTE *)this + 377) )
{
v4 = *(_QWORD *)this;
LOBYTE(v3) = 1;
*((_BYTE *)this + 377) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 1048))(this, v3);
if ( *((_BYTE *)this + 378) )
{
LOBYTE(v5) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1080LL))(this, v5);
}
}
}