//
// cocos2d::CCSprite::setScale from 0xb16c40 to 0xb16cc4 (132 bytes)
//
// 31 xrefs:
// > CCPartAnimSprite::setScale @ 0x578b50
// > CCSpritePlus::setScale @ 0x5a8500
// > ??> @ 0xa97b8
// > ??> @ 0x1135f90
// > ??> @ 0x1136540
// > ??> @ 0x11372c0
// > ??> @ 0x113cc20
// > ??> @ 0x113d240
// > ??> @ 0x113e670
// > ??> @ 0x1143140
// > ??> @ 0x1144a90
// > ??> @ 0x1145030
// > ??> @ 0x1149470
// > ??> @ 0x1152f70
// > ??> @ 0x11597c0
// > ??> @ 0x1178d60
// > ??> @ 0x11792f0
// > ??> @ 0x1192380
// > ??> @ 0x1194070
// > ??> @ 0x11a0c40
// > ??> @ 0x11a11e0
// > ??> @ 0x11b0120
// > ??> @ 0x11b2420
// > ??> @ 0x11d9b80
// > ??> @ 0x11ed430
// > ??> @ 0x11f7180
// > ??> @ 0x1201f20
// > ??> @ 0x12024b0
// > ??> @ 0x1203010
// > ??> @ 0x12185c0
// > ??> @ 0x1219bf0
//
// 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 cocos2d::CCSprite::setScale(cocos2d::CCSprite *a1, float a2)
{
cocos2d::CCSprite_vtbl *v3; // x2
if ( a1->m_fScaleX != a2 || a1->m_fScaleY != a2 )
{
cocos2d::CCNode::setScale(a1, a2);
if ( a1->m_pobBatchNode && !a1->m_bRecursiveDirty )
{
v3 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_bRecursiveDirty = 1;
v3->setDirty(a1, 1);
if ( a1->m_bHasChildren )
a1->setDirtyRecursively(a1, 1);
}
}
}