//
// cocos2d::CCSprite::setScale from 0x100238ef8 to 0x100238f88 (144 bytes)
//
// 26 xrefs:
// > CCPartAnimSprite::setScale @ 0x10007f404
// > CCSpritePlus::setScale @ 0x1001b811c
// > ??> @ 0x100763360
// > ??> @ 0x100773490
// > ??> @ 0x100773dc8
// > ??> @ 0x100774f30
// > ??> @ 0x100777ae0
// > ??> @ 0x100785ad0
// > ??> @ 0x100790870
// > ??> @ 0x100799660
// > ??> @ 0x1007acab8
// > ??> @ 0x1007ad070
// > ??> @ 0x1007b8ae8
// > ??> @ 0x1007b9c38
// > ??> @ 0x1007c4490
// > ??> @ 0x1007c7398
// > ??> @ 0x1007c7e78
// > ??> @ 0x1007c9698
// > ??> @ 0x1007c9c50
// > ??> @ 0x1007e50e8
// > ??> @ 0x1007ea110
// > ??> @ 0x1007ea6c8
// > ??> @ 0x1007ec2f8
// > ??> @ 0x1007ec880
// > ??> @ 0x10080ac30
// > ??> @ 0x100810c40
//
// 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::setScale(cocos2d::CCSprite *a1, float a2)
{
if ( a1->m_fScaleX != a2 || a1->m_fScaleY != a2 )
{
cocos2d::CCNode::setScale_1(a1, a2);
if ( a1->m_pobBatchNode && !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);
}
}
}