//
// cocos2d::CCSprite::setScaleX from 0x100238df8 to 0x100238e78 (128 bytes)
//
// 26 xrefs:
// > CCPartAnimSprite::setScaleX @ 0x10007f42c
// > CCSpritePlus::setScaleX @ 0x1001b8014
// > ??> @ 0x100763340
// > ??> @ 0x100773470
// > ??> @ 0x100773da8
// > ??> @ 0x100774f10
// > ??> @ 0x100777ac0
// > ??> @ 0x100785ab0
// > ??> @ 0x100790850
// > ??> @ 0x100799640
// > ??> @ 0x1007aca98
// > ??> @ 0x1007ad050
// > ??> @ 0x1007b8ac8
// > ??> @ 0x1007b9c18
// > ??> @ 0x1007c4470
// > ??> @ 0x1007c7378
// > ??> @ 0x1007c7e58
// > ??> @ 0x1007c9678
// > ??> @ 0x1007c9c30
// > ??> @ 0x1007e50c8
// > ??> @ 0x1007ea0f0
// > ??> @ 0x1007ea6a8
// > ??> @ 0x1007ec2d8
// > ??> @ 0x1007ec860
// > ??> @ 0x10080ac10
// > ??> @ 0x100810c20
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCSprite::setScaleX(cocos2d::CCSprite *a1, float a2)
{
if ( a1->m_fScaleX != a2 )
{
cocos2d::CCNode::setScaleX(a1, a2);
if ( a1->m_pobBatchNode )
{
if ( !a1->m_bRecursiveDirty )
{
a1->m_bRecursiveDirty = 1;
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirty)(a1, 1);
if ( a1->m_bHasChildren )
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirtyRecursively)(a1, 1);
}
}
}
}