//
// CCSpritePlus::addFollower from 0x6c8984 to 0x6c89d4 (80 bytes)
//
// 8 xrefs:
// > CCSpritePlus::followSprite @ 0x6c8a28
// > AnimatedGameObject::setupChildSprites @ 0x887674
// > AnimatedGameObject::setupChildSprites @ 0x8877f8
// > AnimatedGameObject::setupChildSprites @ 0x8879e4
// > AnimatedGameObject::setupChildSprites @ 0x887bf0
// > GJRobotSprite::init @ 0xa3d214
// > CurrencyRewardLayer::createObjectsFull @ 0xa6a174
// > ??> @ 0xd1470
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:51:22 +0000
//
__int64 __fastcall CCSpritePlus::addFollower(CCSpritePlus *this, cocos2d::CCNode *a2)
{
cocos2d::CCArray *v3; // x0
cocos2d::CCObject *v4; // x0
v3 = *((cocos2d::CCArray **)this + 75);
*((_BYTE *)this + 616) = 1;
if ( v3 )
return cocos2d::CCArray::addObject(v3, a2);
v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(nullptr);
*((_QWORD *)this + 75) = v4;
cocos2d::CCObject::retain(v4);
return cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 75), a2);
}