//
// CCSpritePlus::setScale from 0x1001b8104 to 0x1001b8188 (132 bytes)
//
// 4 xrefs:
// > GameObject::setScale @ 0x10025b748
// > ??> @ 0x10077b820
// > ??> @ 0x1007b3028
// > ??> @ 0x1007ef6a8
//
// 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 CCSpritePlus::setScale(CCSpritePlus *a1, float a2)
{
__int64 v4; // x20
__int64 v5; // x0
cocos2d::CCSprite::setScale(a1, a2);
if ( __PAIR64__(a1->m_propagateScaleChanges, a1->m_hasFollower) == 0x100000001LL
&& (unsigned int)sub_10024A36C(a1->m_followers) )
{
v4 = 0;
do
{
v5 = sub_10024A388(a1->m_followers, v4);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, a2);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_followers) );
}
}