//
// CCSpritePlus::addFollower from 0x1004820e0 to 0x100482130 (80 bytes)
//
// 8 xrefs:
// > AnimatedGameObject::setupChildSprites @ 0x1001b687a
// > AnimatedGameObject::setupChildSprites @ 0x1001b6a3d
// > AnimatedGameObject::setupChildSprites @ 0x1001b6bda
// > AnimatedGameObject::setupChildSprites @ 0x1001b6cac
// > AnimatedGameObject::setupChildSprites @ 0x1001b6d77
// > AnimatedGameObject::setupChildSprites @ 0x1001b6f5a
// > GJRobotSprite::init @ 0x1005dc1e4
// > CurrencyRewardLayer::createObjectsFull @ 0x1007a8385
//
// 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; // rdi
cocos2d::CCArray *v4; // rax
a1->m_hasFollower = 1;
m_followers = a1->m_followers;
if ( !m_followers )
{
v4 = (cocos2d::CCArray *)sub_10071F9E0(0, a2);
a1->m_followers = v4;
cocos2d::CCObject::retain(v4);
m_followers = a1->m_followers;
}
sub_10071FCD0(m_followers, a2);
}