//
// CCSpritePlus::setPosition from 0x5a80e8 to 0x5a8154 (108 bytes)
//
// 5 xrefs:
// > GameObject::setPosition @ 0x640ca0
// > ??> @ 0x94bd8
// > ??> @ 0x11399b8
// > ??> @ 0x1142bb8
// > ??> @ 0x11aa778
//
// 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 CCSpritePlus::setPosition(CCSpritePlus *a1, const cocos2d::CCPoint *a2)
{
unsigned int v4; // w19
__int64 v5; // x0
bool v6; // cf
unsigned int v7; // w1
cocos2d::CCSprite::setPosition(a1, a2);
v4 = 0;
if ( a1->m_hasFollower )
{
while ( 1 )
{
v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_followers);
v7 = v4++;
if ( v6 )
break;
v5 = cocos2d::CCArray::objectAtIndex(a1->m_followers, v7);
(*(void (__fastcall **)(__int64, const cocos2d::CCPoint *))(*(_QWORD *)v5 + 184LL))(v5, a2);
}
}
}