//
// CCSpritePlus::addFollower from 0x3e68b2 to 0x3e68de (44 bytes)
//
// 7 xrefs:
// > CCSpritePlus::followSprite @ 0x3e6908
// > AnimatedGameObject::setupChildSprites @ 0x4ebb78
// > AnimatedGameObject::setupChildSprites @ 0x4ebd1c
// > AnimatedGameObject::setupChildSprites @ 0x4ebe5a
// > AnimatedGameObject::setupChildSprites @ 0x4ebf3e
// > GJRobotSprite::init @ 0x5e6da0
// > CurrencyRewardLayer::createObjectsFull @ 0x604e48
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:05 +0000
//
int __fastcall CCSpritePlus::addFollower(CCSpritePlus *this, cocos2d::CCNode *a2)
{
cocos2d::CCObject *v4; // r0
*((_BYTE *)this + 516) = 1;
if ( !*((_DWORD *)this + 127) )
{
v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(this);
*((_DWORD *)this + 127) = v4;
cocos2d::CCObject::retain(v4);
}
return cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 127), a2);
}