//
// CCSpritePlus::addFollower from 0x2fd286 to 0x2fd2b2 (44 bytes)
//
// 7 xrefs:
// > CCSpritePlus::followSprite @ 0x2fd2dc
// > AnimatedGameObject::setupChildSprites @ 0x3e7a5a
// > AnimatedGameObject::setupChildSprites @ 0x3e7bec
// > AnimatedGameObject::setupChildSprites @ 0x3e7d2a
// > AnimatedGameObject::setupChildSprites @ 0x3e7e0e
// > GJRobotSprite::init @ 0x4b86a2
// > CurrencyRewardLayer::createObjectsFull @ 0x4d1b4c
//
// 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::addFollower(CCSpritePlus *a1, cocos2d::CCNode *a2)
{
cocos2d::CCArray *v4; // r0
a1->m_hasFollower = 1;
if ( !a1->m_followers )
{
v4 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
a1->m_followers = v4;
cocos2d::CCObject::retain(v4);
}
cocos2d::CCArray::addObject(a1->m_followers, a2);
}