//
// CCSpritePlus::addFollower from 0x1001b8188 to 0x1001b81cc (68 bytes)
//
// 7 xrefs:
// > CCSpritePlus::followSprite @ 0x1001b8218
// > GJRobotSprite::init @ 0x10023f6e0
// > CurrencyRewardLayer::createObjectsFull @ 0x100320914
// > AnimatedGameObject::setupChildSprites @ 0x100383608
// > AnimatedGameObject::setupChildSprites @ 0x1003837bc
// > AnimatedGameObject::setupChildSprites @ 0x100383970
// > AnimatedGameObject::setupChildSprites @ 0x100383abc
//
// 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::addFollower(CCSpritePlus *a1, cocos2d::CCNode *a2)
{
cocos2d::CCArray *m_followers; // x0
cocos2d::CCArray *v5; // x0
a1->m_hasFollower = 1;
m_followers = a1->m_followers;
if ( !m_followers )
{
v5 = (cocos2d::CCArray *)sub_10024A15C(0);
a1->m_followers = v5;
cocos2d::CCObject::retain(v5);
m_followers = a1->m_followers;
}
sub_10024A2D0(m_followers, a2);
}