//
// cocos2d::CCSprite::setScaleX from 0x100275620 to 0x10027568f (111 bytes)
//
// 30 xrefs:
// > CCPartAnimSprite::setScaleX @ 0x10035e759
// > CCSpritePlus::setScaleX @ 0x1004768d3
// > ??> @ 0x100ab7450
// > ??> @ 0x100abb3f0
// > ??> @ 0x100ae1528
// > ??> @ 0x100ae4d00
// > ??> @ 0x100af68b8
// > ??> @ 0x100af9f50
// > ??> @ 0x100b0c0a8
// > ??> @ 0x100b10ee0
// > ??> @ 0x100b130d0
// > ??> @ 0x100b1af28
// > ??> @ 0x100b1c288
// > ??> @ 0x100b1ce40
// > ??> @ 0x100b23f70
// > ??> @ 0x100b24508
// > ??> @ 0x100b30488
// > ??> @ 0x100b33260
// > ??> @ 0x100b3db98
// > ??> @ 0x100b46e20
// > ??> @ 0x100b4c170
// > ??> @ 0x100b59630
// > ??> @ 0x100b87258
// > ??> @ 0x100b87820
// > ??> @ 0x100b87de8
// > ??> @ 0x100b8d670
// > ??> @ 0x100b8dc38
// > ??> @ 0x100b99010
// > ??> @ 0x100bac118
// > ??> @ 0x100bb9720
//
// 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
//
void __fastcall cocos2d::CCSprite::setScaleX(__int64 a1, float a2)
{
if ( *(float *)(a1 + 64) != a2 )
{
cocos2d::CCNode::setScaleX(a1, a2);
if ( *(_QWORD *)(a1 + 368) )
{
if ( !*(_BYTE *)(a1 + 377) )
{
*(_BYTE *)(a1 + 377) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1200LL))(a1, 1);
if ( *(_BYTE *)(a1 + 378) == 1 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, 1);
}
}
}
}