//
// cocos2d::CCSprite::setScale from 0x10028a1a0 to 0x10028a21e (126 bytes)
//
// 29 xrefs:
// > CCPartAnimSprite::setScale @ 0x100375269
// > CCSpritePlus::setScale @ 0x100482073
// > ??> @ 0x1008b3e60
// > ??> @ 0x1008b7e48
// > ??> @ 0x1008dd210
// > ??> @ 0x1008e0740
// > ??> @ 0x1008f03b8
// > ??> @ 0x1008f3748
// > ??> @ 0x100904b40
// > ??> @ 0x100909718
// > ??> @ 0x10090b750
// > ??> @ 0x1009131f8
// > ??> @ 0x1009144a0
// > ??> @ 0x100915030
// > ??> @ 0x10091bdc0
// > ??> @ 0x10091c348
// > ??> @ 0x100927d70
// > ??> @ 0x10092aac8
// > ??> @ 0x100933fc8
// > ??> @ 0x10093cc18
// > ??> @ 0x100941ea8
// > ??> @ 0x10094e5c0
// > ??> @ 0x1009746e8
// > ??> @ 0x100974ca0
// > ??> @ 0x100975258
// > ??> @ 0x10097a248
// > ??> @ 0x10097a800
// > ??> @ 0x1009852d0
// > ??> @ 0x100995ee0
//
// 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);
}
}
}